published on Wednesday, Jun 24, 2026 by dell
published on Wednesday, Jun 24, 2026 by dell
This resource is used to manage the file I/O limit rule entity of PowerStore Array. We can Create, Update and Delete the file I/O limit rule using this resource. We can also import an existing file I/O limit rule from PowerStore array.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as powerstore from "@pulumi/powerstore";
//Copyright (c) 2024 Dell Inc., or its subsidiaries. All Rights Reserved.
//
//Licensed under the Mozilla Public License Version 2.0 (the "License");
//you may not use this file except in compliance with the License.
//You may obtain a copy of the License at
//
// http://mozilla.org/MPL/2.0/
//
//
//Unless required by applicable law or agreed to in writing, software
//distributed under the License is distributed on an "AS IS" BASIS,
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//See the License for the specific language governing permissions and
//limitations under the License.
// Commands to run this tf file : terraform init && pulumi preview && pulumi up
// Create, Update, Delete is supported for this resource
// To import, check import.sh for more info
// name is required attribute to create
// max_bw is optional attribute
const terraform_provider_test1 = new powerstore.FileIoLimitRule("terraform-provider-test1", {
name: "test_file_io_limit_rule1",
maxBw: 100,
});
import pulumi
import pulumi_powerstore as powerstore
#Copyright (c) 2024 Dell Inc., or its subsidiaries. All Rights Reserved.
#
#Licensed under the Mozilla Public License Version 2.0 (the "License");
#you may not use this file except in compliance with the License.
#You may obtain a copy of the License at
#
# http://mozilla.org/MPL/2.0/
#
#
#Unless required by applicable law or agreed to in writing, software
#distributed under the License is distributed on an "AS IS" BASIS,
#WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#See the License for the specific language governing permissions and
#limitations under the License.
# Commands to run this tf file : terraform init && pulumi preview && pulumi up
# Create, Update, Delete is supported for this resource
# To import, check import.sh for more info
# name is required attribute to create
# max_bw is optional attribute
terraform_provider_test1 = powerstore.FileIoLimitRule("terraform-provider-test1",
name="test_file_io_limit_rule1",
max_bw=100)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/powerstore/powerstore"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Copyright (c) 2024 Dell Inc., or its subsidiaries. All Rights Reserved.
//
// Licensed under the Mozilla Public License Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://mozilla.org/MPL/2.0/
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Commands to run this tf file : terraform init && pulumi preview && pulumi up
// Create, Update, Delete is supported for this resource
// To import, check import.sh for more info
// name is required attribute to create
// max_bw is optional attribute
_, err := powerstore.NewFileIoLimitRule(ctx, "terraform-provider-test1", &powerstore.FileIoLimitRuleArgs{
Name: pulumi.String("test_file_io_limit_rule1"),
MaxBw: pulumi.Float64(100),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Powerstore = Pulumi.Powerstore;
return await Deployment.RunAsync(() =>
{
//Copyright (c) 2024 Dell Inc., or its subsidiaries. All Rights Reserved.
//
//Licensed under the Mozilla Public License Version 2.0 (the "License");
//you may not use this file except in compliance with the License.
//You may obtain a copy of the License at
//
// http://mozilla.org/MPL/2.0/
//
//
//Unless required by applicable law or agreed to in writing, software
//distributed under the License is distributed on an "AS IS" BASIS,
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//See the License for the specific language governing permissions and
//limitations under the License.
// Commands to run this tf file : terraform init && pulumi preview && pulumi up
// Create, Update, Delete is supported for this resource
// To import, check import.sh for more info
// name is required attribute to create
// max_bw is optional attribute
var terraform_provider_test1 = new Powerstore.FileIoLimitRule("terraform-provider-test1", new()
{
Name = "test_file_io_limit_rule1",
MaxBw = 100,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.powerstore.FileIoLimitRule;
import com.pulumi.powerstore.FileIoLimitRuleArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
//Copyright (c) 2024 Dell Inc., or its subsidiaries. All Rights Reserved.
//
//Licensed under the Mozilla Public License Version 2.0 (the "License");
//you may not use this file except in compliance with the License.
//You may obtain a copy of the License at
//
// http://mozilla.org/MPL/2.0/
//
//
//Unless required by applicable law or agreed to in writing, software
//distributed under the License is distributed on an "AS IS" BASIS,
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//See the License for the specific language governing permissions and
//limitations under the License.
// Commands to run this tf file : terraform init && pulumi preview && pulumi up
// Create, Update, Delete is supported for this resource
// To import, check import.sh for more info
// name is required attribute to create
// max_bw is optional attribute
var terraform_provider_test1 = new FileIoLimitRule("terraform-provider-test1", FileIoLimitRuleArgs.builder()
.name("test_file_io_limit_rule1")
.maxBw(100.0)
.build());
}
}
resources:
# /*
# Copyright (c) 2024 Dell Inc., or its subsidiaries. All Rights Reserved.
# Licensed under the Mozilla Public License Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://mozilla.org/MPL/2.0/
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# */
# Commands to run this tf file : terraform init && pulumi preview && pulumi up
# Create, Update, Delete is supported for this resource
# To import, check import.sh for more info
# name is required attribute to create
# max_bw is optional attribute
terraform-provider-test1:
type: powerstore:FileIoLimitRule
properties:
name: test_file_io_limit_rule1
maxBw: 100
Example coming soon!
Create FileIoLimitRule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FileIoLimitRule(name: string, args: FileIoLimitRuleArgs, opts?: CustomResourceOptions);@overload
def FileIoLimitRule(resource_name: str,
args: FileIoLimitRuleArgs,
opts: Optional[ResourceOptions] = None)
@overload
def FileIoLimitRule(resource_name: str,
opts: Optional[ResourceOptions] = None,
max_bw: Optional[float] = None,
name: Optional[str] = None)func NewFileIoLimitRule(ctx *Context, name string, args FileIoLimitRuleArgs, opts ...ResourceOption) (*FileIoLimitRule, error)public FileIoLimitRule(string name, FileIoLimitRuleArgs args, CustomResourceOptions? opts = null)
public FileIoLimitRule(String name, FileIoLimitRuleArgs args)
public FileIoLimitRule(String name, FileIoLimitRuleArgs args, CustomResourceOptions options)
type: powerstore:FileIoLimitRule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "powerstore_fileiolimitrule" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args FileIoLimitRuleArgs
- 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 FileIoLimitRuleArgs
- 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 FileIoLimitRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FileIoLimitRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FileIoLimitRuleArgs
- 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 fileIoLimitRuleResource = new Powerstore.FileIoLimitRule("fileIoLimitRuleResource", new()
{
MaxBw = 0,
Name = "string",
});
example, err := powerstore.NewFileIoLimitRule(ctx, "fileIoLimitRuleResource", &powerstore.FileIoLimitRuleArgs{
MaxBw: pulumi.Float64(0),
Name: pulumi.String("string"),
})
resource "powerstore_fileiolimitrule" "fileIoLimitRuleResource" {
max_bw = 0
name = "string"
}
var fileIoLimitRuleResource = new FileIoLimitRule("fileIoLimitRuleResource", FileIoLimitRuleArgs.builder()
.maxBw(0.0)
.name("string")
.build());
file_io_limit_rule_resource = powerstore.FileIoLimitRule("fileIoLimitRuleResource",
max_bw=float(0),
name="string")
const fileIoLimitRuleResource = new powerstore.FileIoLimitRule("fileIoLimitRuleResource", {
maxBw: 0,
name: "string",
});
type: powerstore:FileIoLimitRule
properties:
maxBw: 0
name: string
FileIoLimitRule 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 FileIoLimitRule resource accepts the following input properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the FileIoLimitRule 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 FileIoLimitRule Resource
Get an existing FileIoLimitRule 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?: FileIoLimitRuleState, opts?: CustomResourceOptions): FileIoLimitRule@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
max_bw: Optional[float] = None,
name: Optional[str] = None) -> FileIoLimitRulefunc GetFileIoLimitRule(ctx *Context, name string, id IDInput, state *FileIoLimitRuleState, opts ...ResourceOption) (*FileIoLimitRule, error)public static FileIoLimitRule Get(string name, Input<string> id, FileIoLimitRuleState? state, CustomResourceOptions? opts = null)public static FileIoLimitRule get(String name, Output<String> id, FileIoLimitRuleState state, CustomResourceOptions options)resources: _: type: powerstore:FileIoLimitRule get: id: ${id}import {
to = powerstore_fileiolimitrule.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.
Import
#!/bin/bash
Copyright (c) 2024-2025 Dell Inc., or its subsidiaries. All Rights Reserved.
Licensed under the Mozilla Public License Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://mozilla.org/MPL/2.0/
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Script to import an existing file IO limit rule into Terraform
Usage: ./import.sh <file_io_limit_rule_id>
if [ -z “$1” ]; then
echo “Usage: $0 <file_io_limit_rule_id>”
echo “Example: $0 643d8f3c-7b8c-4d1e-9f2a-1b3c4d5e6f7g”
exit 1
fi
$ pulumi import powerstore:index/fileIoLimitRule:FileIoLimitRule terraform-provider-test1 "$1"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- powerstore dell/terraform-provider-powerstore
- License
- Notes
- This Pulumi package is based on the
powerstoreTerraform Provider.
published on Wednesday, Jun 24, 2026 by dell