mso.SchemaSiteAnpEpgSubnet
Explore with Pulumi AI
Create SchemaSiteAnpEpgSubnet Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SchemaSiteAnpEpgSubnet(name: string, args: SchemaSiteAnpEpgSubnetArgs, opts?: CustomResourceOptions);
@overload
def SchemaSiteAnpEpgSubnet(resource_name: str,
args: SchemaSiteAnpEpgSubnetArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SchemaSiteAnpEpgSubnet(resource_name: str,
opts: Optional[ResourceOptions] = None,
anp_name: Optional[str] = None,
template_name: Optional[str] = None,
epg_name: Optional[str] = None,
ip: Optional[str] = None,
site_id: Optional[str] = None,
schema_id: Optional[str] = None,
querier: Optional[bool] = None,
primary: Optional[bool] = None,
schema_site_anp_epg_subnet_id: Optional[str] = None,
scope: Optional[str] = None,
shared: Optional[bool] = None,
no_default_gateway: Optional[bool] = None,
description: Optional[str] = None)
func NewSchemaSiteAnpEpgSubnet(ctx *Context, name string, args SchemaSiteAnpEpgSubnetArgs, opts ...ResourceOption) (*SchemaSiteAnpEpgSubnet, error)
public SchemaSiteAnpEpgSubnet(string name, SchemaSiteAnpEpgSubnetArgs args, CustomResourceOptions? opts = null)
public SchemaSiteAnpEpgSubnet(String name, SchemaSiteAnpEpgSubnetArgs args)
public SchemaSiteAnpEpgSubnet(String name, SchemaSiteAnpEpgSubnetArgs args, CustomResourceOptions options)
type: mso:SchemaSiteAnpEpgSubnet
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 SchemaSiteAnpEpgSubnetArgs
- 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 SchemaSiteAnpEpgSubnetArgs
- 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 SchemaSiteAnpEpgSubnetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SchemaSiteAnpEpgSubnetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SchemaSiteAnpEpgSubnetArgs
- 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 schemaSiteAnpEpgSubnetResource = new Mso.SchemaSiteAnpEpgSubnet("schemaSiteAnpEpgSubnetResource", new()
{
AnpName = "string",
TemplateName = "string",
EpgName = "string",
Ip = "string",
SiteId = "string",
SchemaId = "string",
Querier = false,
Primary = false,
SchemaSiteAnpEpgSubnetId = "string",
Scope = "string",
Shared = false,
NoDefaultGateway = false,
Description = "string",
});
example, err := mso.NewSchemaSiteAnpEpgSubnet(ctx, "schemaSiteAnpEpgSubnetResource", &mso.SchemaSiteAnpEpgSubnetArgs{
AnpName: pulumi.String("string"),
TemplateName: pulumi.String("string"),
EpgName: pulumi.String("string"),
Ip: pulumi.String("string"),
SiteId: pulumi.String("string"),
SchemaId: pulumi.String("string"),
Querier: pulumi.Bool(false),
Primary: pulumi.Bool(false),
SchemaSiteAnpEpgSubnetId: pulumi.String("string"),
Scope: pulumi.String("string"),
Shared: pulumi.Bool(false),
NoDefaultGateway: pulumi.Bool(false),
Description: pulumi.String("string"),
})
var schemaSiteAnpEpgSubnetResource = new SchemaSiteAnpEpgSubnet("schemaSiteAnpEpgSubnetResource", SchemaSiteAnpEpgSubnetArgs.builder()
.anpName("string")
.templateName("string")
.epgName("string")
.ip("string")
.siteId("string")
.schemaId("string")
.querier(false)
.primary(false)
.schemaSiteAnpEpgSubnetId("string")
.scope("string")
.shared(false)
.noDefaultGateway(false)
.description("string")
.build());
schema_site_anp_epg_subnet_resource = mso.SchemaSiteAnpEpgSubnet("schemaSiteAnpEpgSubnetResource",
anp_name="string",
template_name="string",
epg_name="string",
ip="string",
site_id="string",
schema_id="string",
querier=False,
primary=False,
schema_site_anp_epg_subnet_id="string",
scope="string",
shared=False,
no_default_gateway=False,
description="string")
const schemaSiteAnpEpgSubnetResource = new mso.SchemaSiteAnpEpgSubnet("schemaSiteAnpEpgSubnetResource", {
anpName: "string",
templateName: "string",
epgName: "string",
ip: "string",
siteId: "string",
schemaId: "string",
querier: false,
primary: false,
schemaSiteAnpEpgSubnetId: "string",
scope: "string",
shared: false,
noDefaultGateway: false,
description: "string",
});
type: mso:SchemaSiteAnpEpgSubnet
properties:
anpName: string
description: string
epgName: string
ip: string
noDefaultGateway: false
primary: false
querier: false
schemaId: string
schemaSiteAnpEpgSubnetId: string
scope: string
shared: false
siteId: string
templateName: string
SchemaSiteAnpEpgSubnet 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 SchemaSiteAnpEpgSubnet resource accepts the following input properties:
- Anp
Name string - Epg
Name string - Ip string
- Schema
Id string - Site
Id string - Template
Name string - Description string
- No
Default boolGateway - Primary bool
- Querier bool
- Schema
Site stringAnp Epg Subnet Id - Scope string
- bool
- Anp
Name string - Epg
Name string - Ip string
- Schema
Id string - Site
Id string - Template
Name string - Description string
- No
Default boolGateway - Primary bool
- Querier bool
- Schema
Site stringAnp Epg Subnet Id - Scope string
- bool
- anp
Name String - epg
Name String - ip String
- schema
Id String - site
Id String - template
Name String - description String
- no
Default BooleanGateway - primary Boolean
- querier Boolean
- schema
Site StringAnp Epg Subnet Id - scope String
- Boolean
- anp
Name string - epg
Name string - ip string
- schema
Id string - site
Id string - template
Name string - description string
- no
Default booleanGateway - primary boolean
- querier boolean
- schema
Site stringAnp Epg Subnet Id - scope string
- boolean
- anp_
name str - epg_
name str - ip str
- schema_
id str - site_
id str - template_
name str - description str
- no_
default_ boolgateway - primary bool
- querier bool
- schema_
site_ stranp_ epg_ subnet_ id - scope str
- bool
- anp
Name String - epg
Name String - ip String
- schema
Id String - site
Id String - template
Name String - description String
- no
Default BooleanGateway - primary Boolean
- querier Boolean
- schema
Site StringAnp Epg Subnet Id - scope String
- Boolean
Outputs
All input properties are implicitly available as output properties. Additionally, the SchemaSiteAnpEpgSubnet 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 SchemaSiteAnpEpgSubnet Resource
Get an existing SchemaSiteAnpEpgSubnet 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?: SchemaSiteAnpEpgSubnetState, opts?: CustomResourceOptions): SchemaSiteAnpEpgSubnet
@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_site_anp_epg_subnet_id: Optional[str] = None,
scope: Optional[str] = None,
shared: Optional[bool] = None,
site_id: Optional[str] = None,
template_name: Optional[str] = None) -> SchemaSiteAnpEpgSubnet
func GetSchemaSiteAnpEpgSubnet(ctx *Context, name string, id IDInput, state *SchemaSiteAnpEpgSubnetState, opts ...ResourceOption) (*SchemaSiteAnpEpgSubnet, error)
public static SchemaSiteAnpEpgSubnet Get(string name, Input<string> id, SchemaSiteAnpEpgSubnetState? state, CustomResourceOptions? opts = null)
public static SchemaSiteAnpEpgSubnet get(String name, Output<String> id, SchemaSiteAnpEpgSubnetState state, CustomResourceOptions options)
resources: _: type: mso:SchemaSiteAnpEpgSubnet 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
Site stringAnp Epg Subnet Id - Scope string
- bool
- Site
Id string - Template
Name string
- Anp
Name string - Description string
- Epg
Name string - Ip string
- No
Default boolGateway - Primary bool
- Querier bool
- Schema
Id string - Schema
Site stringAnp Epg Subnet Id - Scope string
- bool
- Site
Id string - Template
Name string
- anp
Name String - description String
- epg
Name String - ip String
- no
Default BooleanGateway - primary Boolean
- querier Boolean
- schema
Id String - schema
Site StringAnp Epg Subnet Id - scope String
- Boolean
- site
Id String - template
Name String
- anp
Name string - description string
- epg
Name string - ip string
- no
Default booleanGateway - primary boolean
- querier boolean
- schema
Id string - schema
Site stringAnp Epg Subnet Id - scope string
- boolean
- site
Id string - template
Name string
- anp_
name str - description str
- epg_
name str - ip str
- no_
default_ boolgateway - primary bool
- querier bool
- schema_
id str - schema_
site_ stranp_ epg_ subnet_ id - scope str
- bool
- site_
id str - template_
name str
- anp
Name String - description String
- epg
Name String - ip String
- no
Default BooleanGateway - primary Boolean
- querier Boolean
- schema
Id String - schema
Site StringAnp Epg Subnet Id - scope String
- Boolean
- site
Id String - template
Name String
Package Details
- Repository
- mso ciscodevnet/terraform-provider-mso
- License
- Notes
- This Pulumi package is based on the
mso
Terraform Provider.