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:
- AnpName string
- EpgName string
- Ip string
- SchemaId string
- SiteId string
- TemplateName string
- Description string
- NoDefault boolGateway 
- Primary bool
- Querier bool
- SchemaSite stringAnp Epg Subnet Id 
- Scope string
- bool
- AnpName string
- EpgName string
- Ip string
- SchemaId string
- SiteId string
- TemplateName string
- Description string
- NoDefault boolGateway 
- Primary bool
- Querier bool
- SchemaSite stringAnp Epg Subnet Id 
- Scope string
- bool
- anpName String
- epgName String
- ip String
- schemaId String
- siteId String
- templateName String
- description String
- noDefault BooleanGateway 
- primary Boolean
- querier Boolean
- schemaSite StringAnp Epg Subnet Id 
- scope String
- Boolean
- anpName string
- epgName string
- ip string
- schemaId string
- siteId string
- templateName string
- description string
- noDefault booleanGateway 
- primary boolean
- querier boolean
- schemaSite 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
- anpName String
- epgName String
- ip String
- schemaId String
- siteId String
- templateName String
- description String
- noDefault BooleanGateway 
- primary Boolean
- querier Boolean
- schemaSite 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) -> SchemaSiteAnpEpgSubnetfunc 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.
- AnpName string
- Description string
- EpgName string
- Ip string
- NoDefault boolGateway 
- Primary bool
- Querier bool
- SchemaId string
- SchemaSite stringAnp Epg Subnet Id 
- Scope string
- bool
- SiteId string
- TemplateName string
- AnpName string
- Description string
- EpgName string
- Ip string
- NoDefault boolGateway 
- Primary bool
- Querier bool
- SchemaId string
- SchemaSite stringAnp Epg Subnet Id 
- Scope string
- bool
- SiteId string
- TemplateName string
- anpName String
- description String
- epgName String
- ip String
- noDefault BooleanGateway 
- primary Boolean
- querier Boolean
- schemaId String
- schemaSite StringAnp Epg Subnet Id 
- scope String
- Boolean
- siteId String
- templateName String
- anpName string
- description string
- epgName string
- ip string
- noDefault booleanGateway 
- primary boolean
- querier boolean
- schemaId string
- schemaSite stringAnp Epg Subnet Id 
- scope string
- boolean
- siteId string
- templateName 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
- anpName String
- description String
- epgName String
- ip String
- noDefault BooleanGateway 
- primary Boolean
- querier Boolean
- schemaId String
- schemaSite StringAnp Epg Subnet Id 
- scope String
- Boolean
- siteId String
- templateName String
Package Details
- Repository
- mso ciscodevnet/terraform-provider-mso
- License
- Notes
- This Pulumi package is based on the msoTerraform Provider.