published on Monday, Sep 7, 2026 by ciscodevnet
published on Monday, Sep 7, 2026 by ciscodevnet
Create SchemaSiteAnpEpgBulkStaticport Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SchemaSiteAnpEpgBulkStaticport(name: string, args: SchemaSiteAnpEpgBulkStaticportArgs, opts?: CustomResourceOptions);@overload
def SchemaSiteAnpEpgBulkStaticport(resource_name: str,
args: SchemaSiteAnpEpgBulkStaticportArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SchemaSiteAnpEpgBulkStaticport(resource_name: str,
opts: Optional[ResourceOptions] = None,
anp_name: Optional[str] = None,
epg_name: Optional[str] = None,
schema_id: Optional[str] = None,
site_id: Optional[str] = None,
template_name: Optional[str] = None,
schema_site_anp_epg_bulk_staticport_id: Optional[str] = None,
static_ports: Optional[Sequence[SchemaSiteAnpEpgBulkStaticportStaticPortArgs]] = None)func NewSchemaSiteAnpEpgBulkStaticport(ctx *Context, name string, args SchemaSiteAnpEpgBulkStaticportArgs, opts ...ResourceOption) (*SchemaSiteAnpEpgBulkStaticport, error)public SchemaSiteAnpEpgBulkStaticport(string name, SchemaSiteAnpEpgBulkStaticportArgs args, CustomResourceOptions? opts = null)
public SchemaSiteAnpEpgBulkStaticport(String name, SchemaSiteAnpEpgBulkStaticportArgs args)
public SchemaSiteAnpEpgBulkStaticport(String name, SchemaSiteAnpEpgBulkStaticportArgs args, CustomResourceOptions options)
type: mso:SchemaSiteAnpEpgBulkStaticport
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "mso_schema_site_anp_epg_bulk_staticport" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args SchemaSiteAnpEpgBulkStaticportArgs
- 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 SchemaSiteAnpEpgBulkStaticportArgs
- 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 SchemaSiteAnpEpgBulkStaticportArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SchemaSiteAnpEpgBulkStaticportArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SchemaSiteAnpEpgBulkStaticportArgs
- 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 schemaSiteAnpEpgBulkStaticportResource = new Mso.SchemaSiteAnpEpgBulkStaticport("schemaSiteAnpEpgBulkStaticportResource", new()
{
AnpName = "string",
EpgName = "string",
SchemaId = "string",
SiteId = "string",
TemplateName = "string",
SchemaSiteAnpEpgBulkStaticportId = "string",
StaticPorts = new[]
{
new Mso.Inputs.SchemaSiteAnpEpgBulkStaticportStaticPortArgs
{
DeploymentImmediacy = "string",
Leaf = "string",
Mode = "string",
Path = "string",
Pod = "string",
Vlan = 0.0,
Fex = "string",
MicroSegVlan = 0.0,
PathType = "string",
},
},
});
example, err := mso.NewSchemaSiteAnpEpgBulkStaticport(ctx, "schemaSiteAnpEpgBulkStaticportResource", &mso.SchemaSiteAnpEpgBulkStaticportArgs{
AnpName: pulumi.String("string"),
EpgName: pulumi.String("string"),
SchemaId: pulumi.String("string"),
SiteId: pulumi.String("string"),
TemplateName: pulumi.String("string"),
SchemaSiteAnpEpgBulkStaticportId: pulumi.String("string"),
StaticPorts: mso.SchemaSiteAnpEpgBulkStaticportStaticPortArray{
&mso.SchemaSiteAnpEpgBulkStaticportStaticPortArgs{
DeploymentImmediacy: pulumi.String("string"),
Leaf: pulumi.String("string"),
Mode: pulumi.String("string"),
Path: pulumi.String("string"),
Pod: pulumi.String("string"),
Vlan: pulumi.Float64(0),
Fex: pulumi.String("string"),
MicroSegVlan: pulumi.Float64(0),
PathType: pulumi.String("string"),
},
},
})
resource "mso_schema_site_anp_epg_bulk_staticport" "schemaSiteAnpEpgBulkStaticportResource" {
lifecycle {
create_before_destroy = true
}
anp_name = "string"
epg_name = "string"
schema_id = "string"
site_id = "string"
template_name = "string"
schema_site_anp_epg_bulk_staticport_id = "string"
static_ports {
deployment_immediacy = "string"
leaf = "string"
mode = "string"
path = "string"
pod = "string"
vlan = 0
fex = "string"
micro_seg_vlan = 0
path_type = "string"
}
}
var schemaSiteAnpEpgBulkStaticportResource = new SchemaSiteAnpEpgBulkStaticport("schemaSiteAnpEpgBulkStaticportResource", SchemaSiteAnpEpgBulkStaticportArgs.builder()
.anpName("string")
.epgName("string")
.schemaId("string")
.siteId("string")
.templateName("string")
.schemaSiteAnpEpgBulkStaticportId("string")
.staticPorts(SchemaSiteAnpEpgBulkStaticportStaticPortArgs.builder()
.deploymentImmediacy("string")
.leaf("string")
.mode("string")
.path("string")
.pod("string")
.vlan(0.0)
.fex("string")
.microSegVlan(0.0)
.pathType("string")
.build())
.build());
schema_site_anp_epg_bulk_staticport_resource = mso.SchemaSiteAnpEpgBulkStaticport("schemaSiteAnpEpgBulkStaticportResource",
anp_name="string",
epg_name="string",
schema_id="string",
site_id="string",
template_name="string",
schema_site_anp_epg_bulk_staticport_id="string",
static_ports=[{
"deployment_immediacy": "string",
"leaf": "string",
"mode": "string",
"path": "string",
"pod": "string",
"vlan": float(0),
"fex": "string",
"micro_seg_vlan": float(0),
"path_type": "string",
}])
const schemaSiteAnpEpgBulkStaticportResource = new mso.SchemaSiteAnpEpgBulkStaticport("schemaSiteAnpEpgBulkStaticportResource", {
anpName: "string",
epgName: "string",
schemaId: "string",
siteId: "string",
templateName: "string",
schemaSiteAnpEpgBulkStaticportId: "string",
staticPorts: [{
deploymentImmediacy: "string",
leaf: "string",
mode: "string",
path: "string",
pod: "string",
vlan: 0,
fex: "string",
microSegVlan: 0,
pathType: "string",
}],
});
type: mso:SchemaSiteAnpEpgBulkStaticport
properties:
anpName: string
epgName: string
schemaId: string
schemaSiteAnpEpgBulkStaticportId: string
siteId: string
staticPorts:
- deploymentImmediacy: string
fex: string
leaf: string
microSegVlan: 0
mode: string
path: string
pathType: string
pod: string
vlan: 0
templateName: string
SchemaSiteAnpEpgBulkStaticport 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 SchemaSiteAnpEpgBulkStaticport resource accepts the following input properties:
- Anp
Name string - Epg
Name string - Schema
Id string - Site
Id string - Template
Name string - Schema
Site stringAnp Epg Bulk Staticport Id - Static
Ports List<SchemaSite Anp Epg Bulk Staticport Static Port>
- Anp
Name string - Epg
Name string - Schema
Id string - Site
Id string - Template
Name string - Schema
Site stringAnp Epg Bulk Staticport Id - Static
Ports []SchemaSite Anp Epg Bulk Staticport Static Port Args
- anp_
name string - epg_
name string - schema_
id string - site_
id string - template_
name string - schema_
site_ stringanp_ epg_ bulk_ staticport_ id - static_
ports list(object)
- anp
Name String - epg
Name String - schema
Id String - site
Id String - template
Name String - schema
Site StringAnp Epg Bulk Staticport Id - static
Ports List<SchemaSite Anp Epg Bulk Staticport Static Port>
- anp
Name string - epg
Name string - schema
Id string - site
Id string - template
Name string - schema
Site stringAnp Epg Bulk Staticport Id - static
Ports SchemaSite Anp Epg Bulk Staticport Static Port[]
- anp
Name String - epg
Name String - schema
Id String - site
Id String - template
Name String - schema
Site StringAnp Epg Bulk Staticport Id - static
Ports List<Property Map>
Outputs
All input properties are implicitly available as output properties. Additionally, the SchemaSiteAnpEpgBulkStaticport 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 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 SchemaSiteAnpEpgBulkStaticport Resource
Get an existing SchemaSiteAnpEpgBulkStaticport 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?: SchemaSiteAnpEpgBulkStaticportState, opts?: CustomResourceOptions): SchemaSiteAnpEpgBulkStaticport@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
anp_name: Optional[str] = None,
epg_name: Optional[str] = None,
schema_id: Optional[str] = None,
schema_site_anp_epg_bulk_staticport_id: Optional[str] = None,
site_id: Optional[str] = None,
static_ports: Optional[Sequence[SchemaSiteAnpEpgBulkStaticportStaticPortArgs]] = None,
template_name: Optional[str] = None) -> SchemaSiteAnpEpgBulkStaticportfunc GetSchemaSiteAnpEpgBulkStaticport(ctx *Context, name string, id IDInput, state *SchemaSiteAnpEpgBulkStaticportState, opts ...ResourceOption) (*SchemaSiteAnpEpgBulkStaticport, error)public static SchemaSiteAnpEpgBulkStaticport Get(string name, Input<string> id, SchemaSiteAnpEpgBulkStaticportState? state, CustomResourceOptions? opts = null)public static SchemaSiteAnpEpgBulkStaticport get(String name, Output<String> id, SchemaSiteAnpEpgBulkStaticportState state, CustomResourceOptions options)resources: _: type: mso:SchemaSiteAnpEpgBulkStaticport get: id: ${id}import {
to = mso_schema_site_anp_epg_bulk_staticport.example
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 - Epg
Name string - Schema
Id string - Schema
Site stringAnp Epg Bulk Staticport Id - Site
Id string - Static
Ports List<SchemaSite Anp Epg Bulk Staticport Static Port> - Template
Name string
- Anp
Name string - Epg
Name string - Schema
Id string - Schema
Site stringAnp Epg Bulk Staticport Id - Site
Id string - Static
Ports []SchemaSite Anp Epg Bulk Staticport Static Port Args - Template
Name string
- anp_
name string - epg_
name string - schema_
id string - schema_
site_ stringanp_ epg_ bulk_ staticport_ id - site_
id string - static_
ports list(object) - template_
name string
- anp
Name String - epg
Name String - schema
Id String - schema
Site StringAnp Epg Bulk Staticport Id - site
Id String - static
Ports List<SchemaSite Anp Epg Bulk Staticport Static Port> - template
Name String
- anp
Name string - epg
Name string - schema
Id string - schema
Site stringAnp Epg Bulk Staticport Id - site
Id string - static
Ports SchemaSite Anp Epg Bulk Staticport Static Port[] - template
Name string
- anp
Name String - epg
Name String - schema
Id String - schema
Site StringAnp Epg Bulk Staticport Id - site
Id String - static
Ports List<Property Map> - template
Name String
Supporting Types
SchemaSiteAnpEpgBulkStaticportStaticPort, SchemaSiteAnpEpgBulkStaticportStaticPortArgs
- Deployment
Immediacy string - Leaf string
- Mode string
- Path string
- Pod string
- Vlan double
- Fex string
- Micro
Seg doubleVlan - Path
Type string
- Deployment
Immediacy string - Leaf string
- Mode string
- Path string
- Pod string
- Vlan float64
- Fex string
- Micro
Seg float64Vlan - Path
Type string
- deployment_
immediacy string - leaf string
- mode string
- path string
- pod string
- vlan number
- fex string
- micro_
seg_ numbervlan - path_
type string
- deployment
Immediacy String - leaf String
- mode String
- path String
- pod String
- vlan Double
- fex String
- micro
Seg DoubleVlan - path
Type String
- deployment
Immediacy string - leaf string
- mode string
- path string
- pod string
- vlan number
- fex string
- micro
Seg numberVlan - path
Type string
- deployment_
immediacy str - leaf str
- mode str
- path str
- pod str
- vlan float
- fex str
- micro_
seg_ floatvlan - path_
type str
- deployment
Immediacy String - leaf String
- mode String
- path String
- pod String
- vlan Number
- fex String
- micro
Seg NumberVlan - path
Type String
Package Details
- Repository
- mso ciscodevnet/terraform-provider-mso
- License
- Notes
- This Pulumi package is based on the
msoTerraform Provider.
published on Monday, Sep 7, 2026 by ciscodevnet