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:
- Anp
Name string - Epg
Name string - Ip string
- Schema
Id string - Template string
- Description string
- No
Default boolGateway - Primary bool
- Querier bool
- Schema
Template stringAnp Epg Subnet Id - Scope string
- bool
- Anp
Name string - Epg
Name string - Ip string
- Schema
Id string - Template string
- Description string
- No
Default boolGateway - Primary bool
- Querier bool
- Schema
Template stringAnp Epg Subnet Id - Scope string
- bool
- anp
Name String - epg
Name String - ip String
- schema
Id String - template String
- description String
- no
Default BooleanGateway - primary Boolean
- querier Boolean
- schema
Template StringAnp Epg Subnet Id - scope String
- Boolean
- anp
Name string - epg
Name string - ip string
- schema
Id string - template string
- description string
- no
Default booleanGateway - primary boolean
- querier boolean
- schema
Template 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
- anp
Name String - epg
Name String - ip String
- schema
Id String - template String
- description String
- no
Default BooleanGateway - primary Boolean
- querier Boolean
- schema
Template 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) -> 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.
- Anp
Name string - Description string
- Epg
Name string - Ip string
- No
Default boolGateway - Primary bool
- Querier bool
- Schema
Id string - Schema
Template stringAnp Epg Subnet Id - Scope string
- bool
- Template string
- Anp
Name string - Description string
- Epg
Name string - Ip string
- No
Default boolGateway - Primary bool
- Querier bool
- Schema
Id string - Schema
Template stringAnp Epg Subnet Id - Scope string
- bool
- Template string
- anp
Name String - description String
- epg
Name String - ip String
- no
Default BooleanGateway - primary Boolean
- querier Boolean
- schema
Id String - schema
Template StringAnp Epg Subnet Id - scope String
- Boolean
- template String
- anp
Name string - description string
- epg
Name string - ip string
- no
Default booleanGateway - primary boolean
- querier boolean
- schema
Id string - schema
Template 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
- anp
Name String - description String
- epg
Name String - ip String
- no
Default BooleanGateway - primary Boolean
- querier Boolean
- schema
Id String - schema
Template 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
mso
Terraform Provider.