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

mso logo
mso 1.4.0 published on Monday, Apr 14, 2025 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,
                                       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 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",
        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",
    });
    
    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: mso.SchemaSiteAnpEpgBulkStaticportStaticPortArray{
    		&mso.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"),
    })
    
    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());
    
    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")
    
    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",
    });
    
    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:

    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
    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.
    The following state arguments are supported:

    Supporting Types

    SchemaSiteAnpEpgBulkStaticportStaticPort, SchemaSiteAnpEpgBulkStaticportStaticPortArgs

    Path string
    Pod string
    Vlan double
    DeploymentImmediacy string
    Fex string
    Leaf string
    MicroSegVlan double
    Mode string
    PathType string
    Path string
    Pod string
    Vlan float64
    DeploymentImmediacy string
    Fex string
    Leaf string
    MicroSegVlan float64
    Mode string
    PathType string
    path String
    pod String
    vlan Double
    deploymentImmediacy String
    fex String
    leaf String
    microSegVlan Double
    mode String
    pathType String
    path string
    pod string
    vlan number
    deploymentImmediacy string
    fex string
    leaf string
    microSegVlan number
    mode string
    pathType string
    path String
    pod String
    vlan 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.
    mso logo
    mso 1.4.0 published on Monday, Apr 14, 2025 by ciscodevnet