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

mso.SchemaSiteAnpEpgStaticLeaf

Explore with Pulumi AI

Create SchemaSiteAnpEpgStaticLeaf Resource

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

Constructor syntax

new SchemaSiteAnpEpgStaticLeaf(name: string, args: SchemaSiteAnpEpgStaticLeafArgs, opts?: CustomResourceOptions);
@overload
def SchemaSiteAnpEpgStaticLeaf(resource_name: str,
                               args: SchemaSiteAnpEpgStaticLeafArgs,
                               opts: Optional[ResourceOptions] = None)

@overload
def SchemaSiteAnpEpgStaticLeaf(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               anp_name: Optional[str] = None,
                               epg_name: Optional[str] = None,
                               path: Optional[str] = None,
                               port_encap_vlan: Optional[float] = None,
                               schema_id: Optional[str] = None,
                               site_id: Optional[str] = None,
                               template_name: Optional[str] = None,
                               schema_site_anp_epg_static_leaf_id: Optional[str] = None)
func NewSchemaSiteAnpEpgStaticLeaf(ctx *Context, name string, args SchemaSiteAnpEpgStaticLeafArgs, opts ...ResourceOption) (*SchemaSiteAnpEpgStaticLeaf, error)
public SchemaSiteAnpEpgStaticLeaf(string name, SchemaSiteAnpEpgStaticLeafArgs args, CustomResourceOptions? opts = null)
public SchemaSiteAnpEpgStaticLeaf(String name, SchemaSiteAnpEpgStaticLeafArgs args)
public SchemaSiteAnpEpgStaticLeaf(String name, SchemaSiteAnpEpgStaticLeafArgs args, CustomResourceOptions options)
type: mso:SchemaSiteAnpEpgStaticLeaf
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. SchemaSiteAnpEpgStaticLeafArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. SchemaSiteAnpEpgStaticLeafArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. SchemaSiteAnpEpgStaticLeafArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. SchemaSiteAnpEpgStaticLeafArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. SchemaSiteAnpEpgStaticLeafArgs
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 schemaSiteAnpEpgStaticLeafResource = new Mso.SchemaSiteAnpEpgStaticLeaf("schemaSiteAnpEpgStaticLeafResource", new()
{
    AnpName = "string",
    EpgName = "string",
    Path = "string",
    PortEncapVlan = 0,
    SchemaId = "string",
    SiteId = "string",
    TemplateName = "string",
    SchemaSiteAnpEpgStaticLeafId = "string",
});
Copy
example, err := mso.NewSchemaSiteAnpEpgStaticLeaf(ctx, "schemaSiteAnpEpgStaticLeafResource", &mso.SchemaSiteAnpEpgStaticLeafArgs{
	AnpName:                      pulumi.String("string"),
	EpgName:                      pulumi.String("string"),
	Path:                         pulumi.String("string"),
	PortEncapVlan:                pulumi.Float64(0),
	SchemaId:                     pulumi.String("string"),
	SiteId:                       pulumi.String("string"),
	TemplateName:                 pulumi.String("string"),
	SchemaSiteAnpEpgStaticLeafId: pulumi.String("string"),
})
Copy
var schemaSiteAnpEpgStaticLeafResource = new SchemaSiteAnpEpgStaticLeaf("schemaSiteAnpEpgStaticLeafResource", SchemaSiteAnpEpgStaticLeafArgs.builder()
    .anpName("string")
    .epgName("string")
    .path("string")
    .portEncapVlan(0)
    .schemaId("string")
    .siteId("string")
    .templateName("string")
    .schemaSiteAnpEpgStaticLeafId("string")
    .build());
Copy
schema_site_anp_epg_static_leaf_resource = mso.SchemaSiteAnpEpgStaticLeaf("schemaSiteAnpEpgStaticLeafResource",
    anp_name="string",
    epg_name="string",
    path="string",
    port_encap_vlan=0,
    schema_id="string",
    site_id="string",
    template_name="string",
    schema_site_anp_epg_static_leaf_id="string")
Copy
const schemaSiteAnpEpgStaticLeafResource = new mso.SchemaSiteAnpEpgStaticLeaf("schemaSiteAnpEpgStaticLeafResource", {
    anpName: "string",
    epgName: "string",
    path: "string",
    portEncapVlan: 0,
    schemaId: "string",
    siteId: "string",
    templateName: "string",
    schemaSiteAnpEpgStaticLeafId: "string",
});
Copy
type: mso:SchemaSiteAnpEpgStaticLeaf
properties:
    anpName: string
    epgName: string
    path: string
    portEncapVlan: 0
    schemaId: string
    schemaSiteAnpEpgStaticLeafId: string
    siteId: string
    templateName: string
Copy

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

AnpName This property is required. string
EpgName This property is required. string
Path This property is required. string
PortEncapVlan This property is required. double
SchemaId This property is required. string
SiteId This property is required. string
TemplateName This property is required. string
SchemaSiteAnpEpgStaticLeafId string
AnpName This property is required. string
EpgName This property is required. string
Path This property is required. string
PortEncapVlan This property is required. float64
SchemaId This property is required. string
SiteId This property is required. string
TemplateName This property is required. string
SchemaSiteAnpEpgStaticLeafId string
anpName This property is required. String
epgName This property is required. String
path This property is required. String
portEncapVlan This property is required. Double
schemaId This property is required. String
siteId This property is required. String
templateName This property is required. String
schemaSiteAnpEpgStaticLeafId String
anpName This property is required. string
epgName This property is required. string
path This property is required. string
portEncapVlan This property is required. number
schemaId This property is required. string
siteId This property is required. string
templateName This property is required. string
schemaSiteAnpEpgStaticLeafId string
anp_name This property is required. str
epg_name This property is required. str
path This property is required. str
port_encap_vlan This property is required. float
schema_id This property is required. str
site_id This property is required. str
template_name This property is required. str
schema_site_anp_epg_static_leaf_id str
anpName This property is required. String
epgName This property is required. String
path This property is required. String
portEncapVlan This property is required. Number
schemaId This property is required. String
siteId This property is required. String
templateName This property is required. String
schemaSiteAnpEpgStaticLeafId String

Outputs

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

Get an existing SchemaSiteAnpEpgStaticLeaf 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?: SchemaSiteAnpEpgStaticLeafState, opts?: CustomResourceOptions): SchemaSiteAnpEpgStaticLeaf
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        anp_name: Optional[str] = None,
        epg_name: Optional[str] = None,
        path: Optional[str] = None,
        port_encap_vlan: Optional[float] = None,
        schema_id: Optional[str] = None,
        schema_site_anp_epg_static_leaf_id: Optional[str] = None,
        site_id: Optional[str] = None,
        template_name: Optional[str] = None) -> SchemaSiteAnpEpgStaticLeaf
func GetSchemaSiteAnpEpgStaticLeaf(ctx *Context, name string, id IDInput, state *SchemaSiteAnpEpgStaticLeafState, opts ...ResourceOption) (*SchemaSiteAnpEpgStaticLeaf, error)
public static SchemaSiteAnpEpgStaticLeaf Get(string name, Input<string> id, SchemaSiteAnpEpgStaticLeafState? state, CustomResourceOptions? opts = null)
public static SchemaSiteAnpEpgStaticLeaf get(String name, Output<String> id, SchemaSiteAnpEpgStaticLeafState state, CustomResourceOptions options)
resources:  _:    type: mso:SchemaSiteAnpEpgStaticLeaf    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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
EpgName string
Path string
PortEncapVlan float64
SchemaId string
SchemaSiteAnpEpgStaticLeafId string
SiteId string
TemplateName string

Package Details

Repository
mso ciscodevnet/terraform-provider-mso
License
Notes
This Pulumi package is based on the mso Terraform Provider.