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

mso.SchemaSiteAnpEpgBulkStaticport

Explore with Pulumi AI

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,
                                   static_ports: Optional[Sequence[SchemaSiteAnpEpgBulkStaticportStaticPortArgs]] = None,
                                   template_name: Optional[str] = None,
                                   schema_site_anp_epg_bulk_staticport_id: Optional[str] = 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.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. SchemaSiteAnpEpgBulkStaticportArgs
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. 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 This property is required. string
The unique name of the resource.
args This property is required. SchemaSiteAnpEpgBulkStaticportArgs
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. SchemaSiteAnpEpgBulkStaticportArgs
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. 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",
    StaticPorts = new[]
    {
        new Mso.Inputs.SchemaSiteAnpEpgBulkStaticportStaticPortArgs
        {
            Path = "string",
            Pod = "string",
            Vlan = 0,
            DeploymentImmediacy = "string",
            Fex = "string",
            Leaf = "string",
            MicroSegVlan = 0,
            Mode = "string",
            PathType = "string",
        },
    },
    TemplateName = "string",
    SchemaSiteAnpEpgBulkStaticportId = "string",
});
Copy
example, err := mso.NewSchemaSiteAnpEpgBulkStaticport(ctx, "schemaSiteAnpEpgBulkStaticportResource", &mso.SchemaSiteAnpEpgBulkStaticportArgs{
AnpName: pulumi.String("string"),
EpgName: pulumi.String("string"),
SchemaId: pulumi.String("string"),
SiteId: pulumi.String("string"),
StaticPorts: .SchemaSiteAnpEpgBulkStaticportStaticPortArray{
&.SchemaSiteAnpEpgBulkStaticportStaticPortArgs{
Path: pulumi.String("string"),
Pod: pulumi.String("string"),
Vlan: pulumi.Float64(0),
DeploymentImmediacy: pulumi.String("string"),
Fex: pulumi.String("string"),
Leaf: pulumi.String("string"),
MicroSegVlan: pulumi.Float64(0),
Mode: pulumi.String("string"),
PathType: pulumi.String("string"),
},
},
TemplateName: pulumi.String("string"),
SchemaSiteAnpEpgBulkStaticportId: pulumi.String("string"),
})
Copy
var schemaSiteAnpEpgBulkStaticportResource = new SchemaSiteAnpEpgBulkStaticport("schemaSiteAnpEpgBulkStaticportResource", SchemaSiteAnpEpgBulkStaticportArgs.builder()
    .anpName("string")
    .epgName("string")
    .schemaId("string")
    .siteId("string")
    .staticPorts(SchemaSiteAnpEpgBulkStaticportStaticPortArgs.builder()
        .path("string")
        .pod("string")
        .vlan(0)
        .deploymentImmediacy("string")
        .fex("string")
        .leaf("string")
        .microSegVlan(0)
        .mode("string")
        .pathType("string")
        .build())
    .templateName("string")
    .schemaSiteAnpEpgBulkStaticportId("string")
    .build());
Copy
schema_site_anp_epg_bulk_staticport_resource = mso.SchemaSiteAnpEpgBulkStaticport("schemaSiteAnpEpgBulkStaticportResource",
    anp_name="string",
    epg_name="string",
    schema_id="string",
    site_id="string",
    static_ports=[{
        "path": "string",
        "pod": "string",
        "vlan": 0,
        "deployment_immediacy": "string",
        "fex": "string",
        "leaf": "string",
        "micro_seg_vlan": 0,
        "mode": "string",
        "path_type": "string",
    }],
    template_name="string",
    schema_site_anp_epg_bulk_staticport_id="string")
Copy
const schemaSiteAnpEpgBulkStaticportResource = new mso.SchemaSiteAnpEpgBulkStaticport("schemaSiteAnpEpgBulkStaticportResource", {
    anpName: "string",
    epgName: "string",
    schemaId: "string",
    siteId: "string",
    staticPorts: [{
        path: "string",
        pod: "string",
        vlan: 0,
        deploymentImmediacy: "string",
        fex: "string",
        leaf: "string",
        microSegVlan: 0,
        mode: "string",
        pathType: "string",
    }],
    templateName: "string",
    schemaSiteAnpEpgBulkStaticportId: "string",
});
Copy
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
Copy

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:

AnpName This property is required. string
EpgName This property is required. string
SchemaId This property is required. string
SiteId This property is required. string
StaticPorts This property is required. List<SchemaSiteAnpEpgBulkStaticportStaticPort>
TemplateName This property is required. string
SchemaSiteAnpEpgBulkStaticportId string
AnpName This property is required. string
EpgName This property is required. string
SchemaId This property is required. string
SiteId This property is required. string
StaticPorts This property is required. []SchemaSiteAnpEpgBulkStaticportStaticPortArgs
TemplateName This property is required. string
SchemaSiteAnpEpgBulkStaticportId string
anpName This property is required. String
epgName This property is required. String
schemaId This property is required. String
siteId This property is required. String
staticPorts This property is required. List<SchemaSiteAnpEpgBulkStaticportStaticPort>
templateName This property is required. String
schemaSiteAnpEpgBulkStaticportId String
anpName This property is required. string
epgName This property is required. string
schemaId This property is required. string
siteId This property is required. string
staticPorts This property is required. SchemaSiteAnpEpgBulkStaticportStaticPort[]
templateName This property is required. string
schemaSiteAnpEpgBulkStaticportId string
anp_name This property is required. str
epg_name This property is required. str
schema_id This property is required. str
site_id This property is required. str
static_ports This property is required. Sequence[SchemaSiteAnpEpgBulkStaticportStaticPortArgs]
template_name This property is required. str
schema_site_anp_epg_bulk_staticport_id str
anpName This property is required. String
epgName This property is required. String
schemaId This property is required. String
siteId This property is required. String
staticPorts This property is required. List<Property Map>
templateName This property is required. String
schemaSiteAnpEpgBulkStaticportId String

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 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) -> SchemaSiteAnpEpgBulkStaticport
func 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}
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.

Supporting Types

SchemaSiteAnpEpgBulkStaticportStaticPort
, SchemaSiteAnpEpgBulkStaticportStaticPortArgs

Path This property is required. string
Pod This property is required. string
Vlan This property is required. double
DeploymentImmediacy string
Fex string
Leaf string
MicroSegVlan double
Mode string
PathType string
Path This property is required. string
Pod This property is required. string
Vlan This property is required. float64
DeploymentImmediacy string
Fex string
Leaf string
MicroSegVlan float64
Mode string
PathType string
path This property is required. String
pod This property is required. String
vlan This property is required. Double
deploymentImmediacy String
fex String
leaf String
microSegVlan Double
mode String
pathType String
path This property is required. string
pod This property is required. string
vlan This property is required. number
deploymentImmediacy string
fex string
leaf string
microSegVlan number
mode string
pathType string
path This property is required. str
pod This property is required. str
vlan This property is required. float
deployment_immediacy str
fex str
leaf str
micro_seg_vlan float
mode str
path_type str
path This property is required. String
pod This property is required. String
vlan This property is required. Number
deploymentImmediacy String
fex String
leaf String
microSegVlan Number
mode String
pathType String

Package Details

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