1. Packages
  2. Mso Provider
  3. API Docs
  4. FabricPoliciesVlanPool
mso 1.5.1 published on Friday, Jul 25, 2025 by ciscodevnet

mso.FabricPoliciesVlanPool

Explore with Pulumi AI

mso logo
mso 1.5.1 published on Friday, Jul 25, 2025 by ciscodevnet

    Create FabricPoliciesVlanPool Resource

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

    Constructor syntax

    new FabricPoliciesVlanPool(name: string, args: FabricPoliciesVlanPoolArgs, opts?: CustomResourceOptions);
    @overload
    def FabricPoliciesVlanPool(resource_name: str,
                               args: FabricPoliciesVlanPoolArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def FabricPoliciesVlanPool(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               template_id: Optional[str] = None,
                               description: Optional[str] = None,
                               fabric_policies_vlan_pool_id: Optional[str] = None,
                               name: Optional[str] = None,
                               vlan_ranges: Optional[Sequence[FabricPoliciesVlanPoolVlanRangeArgs]] = None)
    func NewFabricPoliciesVlanPool(ctx *Context, name string, args FabricPoliciesVlanPoolArgs, opts ...ResourceOption) (*FabricPoliciesVlanPool, error)
    public FabricPoliciesVlanPool(string name, FabricPoliciesVlanPoolArgs args, CustomResourceOptions? opts = null)
    public FabricPoliciesVlanPool(String name, FabricPoliciesVlanPoolArgs args)
    public FabricPoliciesVlanPool(String name, FabricPoliciesVlanPoolArgs args, CustomResourceOptions options)
    
    type: mso:FabricPoliciesVlanPool
    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 FabricPoliciesVlanPoolArgs
    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 FabricPoliciesVlanPoolArgs
    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 FabricPoliciesVlanPoolArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FabricPoliciesVlanPoolArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FabricPoliciesVlanPoolArgs
    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 fabricPoliciesVlanPoolResource = new Mso.FabricPoliciesVlanPool("fabricPoliciesVlanPoolResource", new()
    {
        TemplateId = "string",
        Description = "string",
        FabricPoliciesVlanPoolId = "string",
        Name = "string",
        VlanRanges = new[]
        {
            new Mso.Inputs.FabricPoliciesVlanPoolVlanRangeArgs
            {
                From = 0,
                To = 0,
            },
        },
    });
    
    example, err := mso.NewFabricPoliciesVlanPool(ctx, "fabricPoliciesVlanPoolResource", &mso.FabricPoliciesVlanPoolArgs{
    	TemplateId:               pulumi.String("string"),
    	Description:              pulumi.String("string"),
    	FabricPoliciesVlanPoolId: pulumi.String("string"),
    	Name:                     pulumi.String("string"),
    	VlanRanges: mso.FabricPoliciesVlanPoolVlanRangeArray{
    		&mso.FabricPoliciesVlanPoolVlanRangeArgs{
    			From: pulumi.Float64(0),
    			To:   pulumi.Float64(0),
    		},
    	},
    })
    
    var fabricPoliciesVlanPoolResource = new FabricPoliciesVlanPool("fabricPoliciesVlanPoolResource", FabricPoliciesVlanPoolArgs.builder()
        .templateId("string")
        .description("string")
        .fabricPoliciesVlanPoolId("string")
        .name("string")
        .vlanRanges(FabricPoliciesVlanPoolVlanRangeArgs.builder()
            .from(0.0)
            .to(0.0)
            .build())
        .build());
    
    fabric_policies_vlan_pool_resource = mso.FabricPoliciesVlanPool("fabricPoliciesVlanPoolResource",
        template_id="string",
        description="string",
        fabric_policies_vlan_pool_id="string",
        name="string",
        vlan_ranges=[{
            "from_": 0,
            "to": 0,
        }])
    
    const fabricPoliciesVlanPoolResource = new mso.FabricPoliciesVlanPool("fabricPoliciesVlanPoolResource", {
        templateId: "string",
        description: "string",
        fabricPoliciesVlanPoolId: "string",
        name: "string",
        vlanRanges: [{
            from: 0,
            to: 0,
        }],
    });
    
    type: mso:FabricPoliciesVlanPool
    properties:
        description: string
        fabricPoliciesVlanPoolId: string
        name: string
        templateId: string
        vlanRanges:
            - from: 0
              to: 0
    

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

    Outputs

    All input properties are implicitly available as output properties. Additionally, the FabricPoliciesVlanPool resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Uuid string
    Id string
    The provider-assigned unique ID for this managed resource.
    Uuid string
    id String
    The provider-assigned unique ID for this managed resource.
    uuid String
    id string
    The provider-assigned unique ID for this managed resource.
    uuid string
    id str
    The provider-assigned unique ID for this managed resource.
    uuid str
    id String
    The provider-assigned unique ID for this managed resource.
    uuid String

    Look up Existing FabricPoliciesVlanPool Resource

    Get an existing FabricPoliciesVlanPool 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?: FabricPoliciesVlanPoolState, opts?: CustomResourceOptions): FabricPoliciesVlanPool
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            fabric_policies_vlan_pool_id: Optional[str] = None,
            name: Optional[str] = None,
            template_id: Optional[str] = None,
            uuid: Optional[str] = None,
            vlan_ranges: Optional[Sequence[FabricPoliciesVlanPoolVlanRangeArgs]] = None) -> FabricPoliciesVlanPool
    func GetFabricPoliciesVlanPool(ctx *Context, name string, id IDInput, state *FabricPoliciesVlanPoolState, opts ...ResourceOption) (*FabricPoliciesVlanPool, error)
    public static FabricPoliciesVlanPool Get(string name, Input<string> id, FabricPoliciesVlanPoolState? state, CustomResourceOptions? opts = null)
    public static FabricPoliciesVlanPool get(String name, Output<String> id, FabricPoliciesVlanPoolState state, CustomResourceOptions options)
    resources:  _:    type: mso:FabricPoliciesVlanPool    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

    FabricPoliciesVlanPoolVlanRange, FabricPoliciesVlanPoolVlanRangeArgs

    From double
    To double
    From float64
    To float64
    from Double
    to Double
    from number
    to number
    from_ float
    to float
    from Number
    to Number

    Package Details

    Repository
    mso ciscodevnet/terraform-provider-mso
    License
    Notes
    This Pulumi package is based on the mso Terraform Provider.
    mso logo
    mso 1.5.1 published on Friday, Jul 25, 2025 by ciscodevnet