published on Friday, Jul 17, 2026 by OVHcloud
published on Friday, Jul 17, 2026 by OVHcloud
Creates a file storage share (NFS) in a public cloud project.
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
share:
type: ovh:CloudStorageFileShare
properties:
serviceName: <public cloud project ID>
name: my-share
size: 150
region: GRA1
protocol: NFS
shareType: STANDARD_1AZ
description: My NFS share
accessRules:
- access_to: 10.0.0.0/24
access_level: READ_WRITE
Example coming soon!
Create CloudStorageFileShare Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CloudStorageFileShare(name: string, args: CloudStorageFileShareArgs, opts?: CustomResourceOptions);@overload
def CloudStorageFileShare(resource_name: str,
args: CloudStorageFileShareArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CloudStorageFileShare(resource_name: str,
opts: Optional[ResourceOptions] = None,
protocol: Optional[str] = None,
region: Optional[str] = None,
service_name: Optional[str] = None,
share_network_id: Optional[str] = None,
share_type: Optional[str] = None,
size: Optional[int] = None,
access_rules: Optional[Sequence[CloudStorageFileShareAccessRuleArgs]] = None,
availability_zone: Optional[str] = None,
description: Optional[str] = None,
name: Optional[str] = None)func NewCloudStorageFileShare(ctx *Context, name string, args CloudStorageFileShareArgs, opts ...ResourceOption) (*CloudStorageFileShare, error)public CloudStorageFileShare(string name, CloudStorageFileShareArgs args, CustomResourceOptions? opts = null)
public CloudStorageFileShare(String name, CloudStorageFileShareArgs args)
public CloudStorageFileShare(String name, CloudStorageFileShareArgs args, CustomResourceOptions options)
type: ovh:CloudStorageFileShare
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "ovh_cloud_storage_file_share" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args CloudStorageFileShareArgs
- 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 CloudStorageFileShareArgs
- 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 CloudStorageFileShareArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CloudStorageFileShareArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CloudStorageFileShareArgs
- 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 cloudStorageFileShareResource = new Ovh.CloudStorageFileShare("cloudStorageFileShareResource", new()
{
Protocol = "string",
Region = "string",
ServiceName = "string",
ShareNetworkId = "string",
ShareType = "string",
Size = 0,
AccessRules = new[]
{
new Ovh.Inputs.CloudStorageFileShareAccessRuleArgs
{
AccessLevel = "string",
AccessTo = "string",
},
},
AvailabilityZone = "string",
Description = "string",
Name = "string",
});
example, err := ovh.NewCloudStorageFileShare(ctx, "cloudStorageFileShareResource", &ovh.CloudStorageFileShareArgs{
Protocol: pulumi.String("string"),
Region: pulumi.String("string"),
ServiceName: pulumi.String("string"),
ShareNetworkId: pulumi.String("string"),
ShareType: pulumi.String("string"),
Size: pulumi.Int(0),
AccessRules: ovh.CloudStorageFileShareAccessRuleArray{
&ovh.CloudStorageFileShareAccessRuleArgs{
AccessLevel: pulumi.String("string"),
AccessTo: pulumi.String("string"),
},
},
AvailabilityZone: pulumi.String("string"),
Description: pulumi.String("string"),
Name: pulumi.String("string"),
})
resource "ovh_cloud_storage_file_share" "cloudStorageFileShareResource" {
lifecycle {
create_before_destroy = true
}
protocol = "string"
region = "string"
service_name = "string"
share_network_id = "string"
share_type = "string"
size = 0
access_rules {
access_level = "string"
access_to = "string"
}
availability_zone = "string"
description = "string"
name = "string"
}
var cloudStorageFileShareResource = new CloudStorageFileShare("cloudStorageFileShareResource", CloudStorageFileShareArgs.builder()
.protocol("string")
.region("string")
.serviceName("string")
.shareNetworkId("string")
.shareType("string")
.size(0)
.accessRules(CloudStorageFileShareAccessRuleArgs.builder()
.accessLevel("string")
.accessTo("string")
.build())
.availabilityZone("string")
.description("string")
.name("string")
.build());
cloud_storage_file_share_resource = ovh.CloudStorageFileShare("cloudStorageFileShareResource",
protocol="string",
region="string",
service_name="string",
share_network_id="string",
share_type="string",
size=0,
access_rules=[{
"access_level": "string",
"access_to": "string",
}],
availability_zone="string",
description="string",
name="string")
const cloudStorageFileShareResource = new ovh.CloudStorageFileShare("cloudStorageFileShareResource", {
protocol: "string",
region: "string",
serviceName: "string",
shareNetworkId: "string",
shareType: "string",
size: 0,
accessRules: [{
accessLevel: "string",
accessTo: "string",
}],
availabilityZone: "string",
description: "string",
name: "string",
});
type: ovh:CloudStorageFileShare
properties:
accessRules:
- accessLevel: string
accessTo: string
availabilityZone: string
description: string
name: string
protocol: string
region: string
serviceName: string
shareNetworkId: string
shareType: string
size: 0
CloudStorageFileShare 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 CloudStorageFileShare resource accepts the following input properties:
- Protocol string
- File share protocol (
NFS). Changing this value recreates the resource. - Region string
- Region where the file share will be created. Changing this value recreates the resource.
- Service
Name string - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- string
- ID of a pre-existing share network to attach the file share to. Changing this value recreates the resource.
- string
- File share type (e.g.
STANDARD_1AZ). Changing this value recreates the resource. - Size int
- Size of the file share in GB.
- Access
Rules List<CloudStorage File Share Access Rule> - Access rules for the file share. Each rule has:
- Availability
Zone string - Availability zone where the file share will be created. Changing this value recreates the resource.
- Description string
- File share description.
- Name string
- File share name.
- Protocol string
- File share protocol (
NFS). Changing this value recreates the resource. - Region string
- Region where the file share will be created. Changing this value recreates the resource.
- Service
Name string - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- string
- ID of a pre-existing share network to attach the file share to. Changing this value recreates the resource.
- string
- File share type (e.g.
STANDARD_1AZ). Changing this value recreates the resource. - Size int
- Size of the file share in GB.
- Access
Rules []CloudStorage File Share Access Rule Args - Access rules for the file share. Each rule has:
- Availability
Zone string - Availability zone where the file share will be created. Changing this value recreates the resource.
- Description string
- File share description.
- Name string
- File share name.
- protocol string
- File share protocol (
NFS). Changing this value recreates the resource. - region string
- Region where the file share will be created. Changing this value recreates the resource.
- service_
name string - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- string
- ID of a pre-existing share network to attach the file share to. Changing this value recreates the resource.
- string
- File share type (e.g.
STANDARD_1AZ). Changing this value recreates the resource. - size number
- Size of the file share in GB.
- access_
rules list(object) - Access rules for the file share. Each rule has:
- availability_
zone string - Availability zone where the file share will be created. Changing this value recreates the resource.
- description string
- File share description.
- name string
- File share name.
- protocol String
- File share protocol (
NFS). Changing this value recreates the resource. - region String
- Region where the file share will be created. Changing this value recreates the resource.
- service
Name String - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- String
- ID of a pre-existing share network to attach the file share to. Changing this value recreates the resource.
- String
- File share type (e.g.
STANDARD_1AZ). Changing this value recreates the resource. - size Integer
- Size of the file share in GB.
- access
Rules List<CloudStorage File Share Access Rule> - Access rules for the file share. Each rule has:
- availability
Zone String - Availability zone where the file share will be created. Changing this value recreates the resource.
- description String
- File share description.
- name String
- File share name.
- protocol string
- File share protocol (
NFS). Changing this value recreates the resource. - region string
- Region where the file share will be created. Changing this value recreates the resource.
- service
Name string - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- string
- ID of a pre-existing share network to attach the file share to. Changing this value recreates the resource.
- string
- File share type (e.g.
STANDARD_1AZ). Changing this value recreates the resource. - size number
- Size of the file share in GB.
- access
Rules CloudStorage File Share Access Rule[] - Access rules for the file share. Each rule has:
- availability
Zone string - Availability zone where the file share will be created. Changing this value recreates the resource.
- description string
- File share description.
- name string
- File share name.
- protocol str
- File share protocol (
NFS). Changing this value recreates the resource. - region str
- Region where the file share will be created. Changing this value recreates the resource.
- service_
name str - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- str
- ID of a pre-existing share network to attach the file share to. Changing this value recreates the resource.
- str
- File share type (e.g.
STANDARD_1AZ). Changing this value recreates the resource. - size int
- Size of the file share in GB.
- access_
rules Sequence[CloudStorage File Share Access Rule Args] - Access rules for the file share. Each rule has:
- availability_
zone str - Availability zone where the file share will be created. Changing this value recreates the resource.
- description str
- File share description.
- name str
- File share name.
- protocol String
- File share protocol (
NFS). Changing this value recreates the resource. - region String
- Region where the file share will be created. Changing this value recreates the resource.
- service
Name String - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- String
- ID of a pre-existing share network to attach the file share to. Changing this value recreates the resource.
- String
- File share type (e.g.
STANDARD_1AZ). Changing this value recreates the resource. - size Number
- Size of the file share in GB.
- access
Rules List<Property Map> - Access rules for the file share. Each rule has:
- availability
Zone String - Availability zone where the file share will be created. Changing this value recreates the resource.
- description String
- File share description.
- name String
- File share name.
Outputs
All input properties are implicitly available as output properties. Additionally, the CloudStorageFileShare resource produces the following output properties:
- Checksum string
- Computed hash representing the current target specification value.
- Created
At string - Access rule creation date.
- Current
State CloudStorage File Share Current State - Current state of the file storage share:
- Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Status string - File share readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - Updated
At string - Last update date of the file share.
- Checksum string
- Computed hash representing the current target specification value.
- Created
At string - Access rule creation date.
- Current
State CloudStorage File Share Current State - Current state of the file storage share:
- Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Status string - File share readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - Updated
At string - Last update date of the file share.
- checksum string
- Computed hash representing the current target specification value.
- created_
at string - Access rule creation date.
- current_
state object - Current state of the file storage share:
- id string
- The provider-assigned unique ID for this managed resource.
- resource_
status string - File share readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - updated_
at string - Last update date of the file share.
- checksum String
- Computed hash representing the current target specification value.
- created
At String - Access rule creation date.
- current
State CloudStorage File Share Current State - Current state of the file storage share:
- id String
- The provider-assigned unique ID for this managed resource.
- resource
Status String - File share readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - updated
At String - Last update date of the file share.
- checksum string
- Computed hash representing the current target specification value.
- created
At string - Access rule creation date.
- current
State CloudStorage File Share Current State - Current state of the file storage share:
- id string
- The provider-assigned unique ID for this managed resource.
- resource
Status string - File share readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - updated
At string - Last update date of the file share.
- checksum str
- Computed hash representing the current target specification value.
- created_
at str - Access rule creation date.
- current_
state CloudStorage File Share Current State - Current state of the file storage share:
- id str
- The provider-assigned unique ID for this managed resource.
- resource_
status str - File share readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - updated_
at str - Last update date of the file share.
- checksum String
- Computed hash representing the current target specification value.
- created
At String - Access rule creation date.
- current
State Property Map - Current state of the file storage share:
- id String
- The provider-assigned unique ID for this managed resource.
- resource
Status String - File share readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - updated
At String - Last update date of the file share.
Look up Existing CloudStorageFileShare Resource
Get an existing CloudStorageFileShare 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?: CloudStorageFileShareState, opts?: CustomResourceOptions): CloudStorageFileShare@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_rules: Optional[Sequence[CloudStorageFileShareAccessRuleArgs]] = None,
availability_zone: Optional[str] = None,
checksum: Optional[str] = None,
created_at: Optional[str] = None,
current_state: Optional[CloudStorageFileShareCurrentStateArgs] = None,
description: Optional[str] = None,
name: Optional[str] = None,
protocol: Optional[str] = None,
region: Optional[str] = None,
resource_status: Optional[str] = None,
service_name: Optional[str] = None,
share_network_id: Optional[str] = None,
share_type: Optional[str] = None,
size: Optional[int] = None,
updated_at: Optional[str] = None) -> CloudStorageFileSharefunc GetCloudStorageFileShare(ctx *Context, name string, id IDInput, state *CloudStorageFileShareState, opts ...ResourceOption) (*CloudStorageFileShare, error)public static CloudStorageFileShare Get(string name, Input<string> id, CloudStorageFileShareState? state, CustomResourceOptions? opts = null)public static CloudStorageFileShare get(String name, Output<String> id, CloudStorageFileShareState state, CustomResourceOptions options)resources: _: type: ovh:CloudStorageFileShare get: id: ${id}import {
to = ovh_cloud_storage_file_share.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.
- Access
Rules List<CloudStorage File Share Access Rule> - Access rules for the file share. Each rule has:
- Availability
Zone string - Availability zone where the file share will be created. Changing this value recreates the resource.
- Checksum string
- Computed hash representing the current target specification value.
- Created
At string - Access rule creation date.
- Current
State CloudStorage File Share Current State - Current state of the file storage share:
- Description string
- File share description.
- Name string
- File share name.
- Protocol string
- File share protocol (
NFS). Changing this value recreates the resource. - Region string
- Region where the file share will be created. Changing this value recreates the resource.
- Resource
Status string - File share readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - Service
Name string - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- string
- ID of a pre-existing share network to attach the file share to. Changing this value recreates the resource.
- string
- File share type (e.g.
STANDARD_1AZ). Changing this value recreates the resource. - Size int
- Size of the file share in GB.
- Updated
At string - Last update date of the file share.
- Access
Rules []CloudStorage File Share Access Rule Args - Access rules for the file share. Each rule has:
- Availability
Zone string - Availability zone where the file share will be created. Changing this value recreates the resource.
- Checksum string
- Computed hash representing the current target specification value.
- Created
At string - Access rule creation date.
- Current
State CloudStorage File Share Current State Args - Current state of the file storage share:
- Description string
- File share description.
- Name string
- File share name.
- Protocol string
- File share protocol (
NFS). Changing this value recreates the resource. - Region string
- Region where the file share will be created. Changing this value recreates the resource.
- Resource
Status string - File share readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - Service
Name string - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- string
- ID of a pre-existing share network to attach the file share to. Changing this value recreates the resource.
- string
- File share type (e.g.
STANDARD_1AZ). Changing this value recreates the resource. - Size int
- Size of the file share in GB.
- Updated
At string - Last update date of the file share.
- access_
rules list(object) - Access rules for the file share. Each rule has:
- availability_
zone string - Availability zone where the file share will be created. Changing this value recreates the resource.
- checksum string
- Computed hash representing the current target specification value.
- created_
at string - Access rule creation date.
- current_
state object - Current state of the file storage share:
- description string
- File share description.
- name string
- File share name.
- protocol string
- File share protocol (
NFS). Changing this value recreates the resource. - region string
- Region where the file share will be created. Changing this value recreates the resource.
- resource_
status string - File share readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - service_
name string - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- string
- ID of a pre-existing share network to attach the file share to. Changing this value recreates the resource.
- string
- File share type (e.g.
STANDARD_1AZ). Changing this value recreates the resource. - size number
- Size of the file share in GB.
- updated_
at string - Last update date of the file share.
- access
Rules List<CloudStorage File Share Access Rule> - Access rules for the file share. Each rule has:
- availability
Zone String - Availability zone where the file share will be created. Changing this value recreates the resource.
- checksum String
- Computed hash representing the current target specification value.
- created
At String - Access rule creation date.
- current
State CloudStorage File Share Current State - Current state of the file storage share:
- description String
- File share description.
- name String
- File share name.
- protocol String
- File share protocol (
NFS). Changing this value recreates the resource. - region String
- Region where the file share will be created. Changing this value recreates the resource.
- resource
Status String - File share readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - service
Name String - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- String
- ID of a pre-existing share network to attach the file share to. Changing this value recreates the resource.
- String
- File share type (e.g.
STANDARD_1AZ). Changing this value recreates the resource. - size Integer
- Size of the file share in GB.
- updated
At String - Last update date of the file share.
- access
Rules CloudStorage File Share Access Rule[] - Access rules for the file share. Each rule has:
- availability
Zone string - Availability zone where the file share will be created. Changing this value recreates the resource.
- checksum string
- Computed hash representing the current target specification value.
- created
At string - Access rule creation date.
- current
State CloudStorage File Share Current State - Current state of the file storage share:
- description string
- File share description.
- name string
- File share name.
- protocol string
- File share protocol (
NFS). Changing this value recreates the resource. - region string
- Region where the file share will be created. Changing this value recreates the resource.
- resource
Status string - File share readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - service
Name string - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- string
- ID of a pre-existing share network to attach the file share to. Changing this value recreates the resource.
- string
- File share type (e.g.
STANDARD_1AZ). Changing this value recreates the resource. - size number
- Size of the file share in GB.
- updated
At string - Last update date of the file share.
- access_
rules Sequence[CloudStorage File Share Access Rule Args] - Access rules for the file share. Each rule has:
- availability_
zone str - Availability zone where the file share will be created. Changing this value recreates the resource.
- checksum str
- Computed hash representing the current target specification value.
- created_
at str - Access rule creation date.
- current_
state CloudStorage File Share Current State Args - Current state of the file storage share:
- description str
- File share description.
- name str
- File share name.
- protocol str
- File share protocol (
NFS). Changing this value recreates the resource. - region str
- Region where the file share will be created. Changing this value recreates the resource.
- resource_
status str - File share readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - service_
name str - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- str
- ID of a pre-existing share network to attach the file share to. Changing this value recreates the resource.
- str
- File share type (e.g.
STANDARD_1AZ). Changing this value recreates the resource. - size int
- Size of the file share in GB.
- updated_
at str - Last update date of the file share.
- access
Rules List<Property Map> - Access rules for the file share. Each rule has:
- availability
Zone String - Availability zone where the file share will be created. Changing this value recreates the resource.
- checksum String
- Computed hash representing the current target specification value.
- created
At String - Access rule creation date.
- current
State Property Map - Current state of the file storage share:
- description String
- File share description.
- name String
- File share name.
- protocol String
- File share protocol (
NFS). Changing this value recreates the resource. - region String
- Region where the file share will be created. Changing this value recreates the resource.
- resource
Status String - File share readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - service
Name String - Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
- String
- ID of a pre-existing share network to attach the file share to. Changing this value recreates the resource.
- String
- File share type (e.g.
STANDARD_1AZ). Changing this value recreates the resource. - size Number
- Size of the file share in GB.
- updated
At String - Last update date of the file share.
Supporting Types
CloudStorageFileShareAccessRule, CloudStorageFileShareAccessRuleArgs
- Access
Level string - Access level (
READ_WRITE,READ_ONLY). - Access
To string - IP address or CIDR to grant access to.
- Access
Level string - Access level (
READ_WRITE,READ_ONLY). - Access
To string - IP address or CIDR to grant access to.
- access_
level string - Access level (
READ_WRITE,READ_ONLY). - access_
to string - IP address or CIDR to grant access to.
- access
Level String - Access level (
READ_WRITE,READ_ONLY). - access
To String - IP address or CIDR to grant access to.
- access
Level string - Access level (
READ_WRITE,READ_ONLY). - access
To string - IP address or CIDR to grant access to.
- access_
level str - Access level (
READ_WRITE,READ_ONLY). - access_
to str - IP address or CIDR to grant access to.
- access
Level String - Access level (
READ_WRITE,READ_ONLY). - access
To String - IP address or CIDR to grant access to.
CloudStorageFileShareCurrentState, CloudStorageFileShareCurrentStateArgs
- Access
Rules List<CloudStorage File Share Current State Access Rule> - Access rules for the file share. Each rule has:
- Capabilities
List<Cloud
Storage File Share Current State Capability> - Action-availability flags derived from the file share status:
- Description string
- File share description.
- Export
Locations List<CloudStorage File Share Current State Export Location> - Export locations for the file share:
- Location
Cloud
Storage File Share Current State Location - Current location:
- Name string
- File share name.
- Protocol string
- File share protocol (
NFS). Changing this value recreates the resource. - string
- ID of a pre-existing share network to attach the file share to. Changing this value recreates the resource.
- string
- File share type (e.g.
STANDARD_1AZ). Changing this value recreates the resource. - Size int
- Size of the file share in GB.
- Access
Rules []CloudStorage File Share Current State Access Rule - Access rules for the file share. Each rule has:
- Capabilities
[]Cloud
Storage File Share Current State Capability - Action-availability flags derived from the file share status:
- Description string
- File share description.
- Export
Locations []CloudStorage File Share Current State Export Location - Export locations for the file share:
- Location
Cloud
Storage File Share Current State Location - Current location:
- Name string
- File share name.
- Protocol string
- File share protocol (
NFS). Changing this value recreates the resource. - string
- ID of a pre-existing share network to attach the file share to. Changing this value recreates the resource.
- string
- File share type (e.g.
STANDARD_1AZ). Changing this value recreates the resource. - Size int
- Size of the file share in GB.
- access_
rules list(object) - Access rules for the file share. Each rule has:
- capabilities list(object)
- Action-availability flags derived from the file share status:
- description string
- File share description.
- export_
locations list(object) - Export locations for the file share:
- location object
- Current location:
- name string
- File share name.
- protocol string
- File share protocol (
NFS). Changing this value recreates the resource. - string
- ID of a pre-existing share network to attach the file share to. Changing this value recreates the resource.
- string
- File share type (e.g.
STANDARD_1AZ). Changing this value recreates the resource. - size number
- Size of the file share in GB.
- access
Rules List<CloudStorage File Share Current State Access Rule> - Access rules for the file share. Each rule has:
- capabilities
List<Cloud
Storage File Share Current State Capability> - Action-availability flags derived from the file share status:
- description String
- File share description.
- export
Locations List<CloudStorage File Share Current State Export Location> - Export locations for the file share:
- location
Cloud
Storage File Share Current State Location - Current location:
- name String
- File share name.
- protocol String
- File share protocol (
NFS). Changing this value recreates the resource. - String
- ID of a pre-existing share network to attach the file share to. Changing this value recreates the resource.
- String
- File share type (e.g.
STANDARD_1AZ). Changing this value recreates the resource. - size Integer
- Size of the file share in GB.
- access
Rules CloudStorage File Share Current State Access Rule[] - Access rules for the file share. Each rule has:
- capabilities
Cloud
Storage File Share Current State Capability[] - Action-availability flags derived from the file share status:
- description string
- File share description.
- export
Locations CloudStorage File Share Current State Export Location[] - Export locations for the file share:
- location
Cloud
Storage File Share Current State Location - Current location:
- name string
- File share name.
- protocol string
- File share protocol (
NFS). Changing this value recreates the resource. - string
- ID of a pre-existing share network to attach the file share to. Changing this value recreates the resource.
- string
- File share type (e.g.
STANDARD_1AZ). Changing this value recreates the resource. - size number
- Size of the file share in GB.
- access_
rules Sequence[CloudStorage File Share Current State Access Rule] - Access rules for the file share. Each rule has:
- capabilities
Sequence[Cloud
Storage File Share Current State Capability] - Action-availability flags derived from the file share status:
- description str
- File share description.
- export_
locations Sequence[CloudStorage File Share Current State Export Location] - Export locations for the file share:
- location
Cloud
Storage File Share Current State Location - Current location:
- name str
- File share name.
- protocol str
- File share protocol (
NFS). Changing this value recreates the resource. - str
- ID of a pre-existing share network to attach the file share to. Changing this value recreates the resource.
- str
- File share type (e.g.
STANDARD_1AZ). Changing this value recreates the resource. - size int
- Size of the file share in GB.
- access
Rules List<Property Map> - Access rules for the file share. Each rule has:
- capabilities List<Property Map>
- Action-availability flags derived from the file share status:
- description String
- File share description.
- export
Locations List<Property Map> - Export locations for the file share:
- location Property Map
- Current location:
- name String
- File share name.
- protocol String
- File share protocol (
NFS). Changing this value recreates the resource. - String
- ID of a pre-existing share network to attach the file share to. Changing this value recreates the resource.
- String
- File share type (e.g.
STANDARD_1AZ). Changing this value recreates the resource. - size Number
- Size of the file share in GB.
CloudStorageFileShareCurrentStateAccessRule, CloudStorageFileShareCurrentStateAccessRuleArgs
- Access
Level string - Access level (
READ_WRITE,READ_ONLY). - Access
To string - IP address or CIDR to grant access to.
- Created
At string - Access rule creation date.
- Id string
- Access rule ID.
- State string
- Access rule state.
- Access
Level string - Access level (
READ_WRITE,READ_ONLY). - Access
To string - IP address or CIDR to grant access to.
- Created
At string - Access rule creation date.
- Id string
- Access rule ID.
- State string
- Access rule state.
- access_
level string - Access level (
READ_WRITE,READ_ONLY). - access_
to string - IP address or CIDR to grant access to.
- created_
at string - Access rule creation date.
- id string
- Access rule ID.
- state string
- Access rule state.
- access
Level String - Access level (
READ_WRITE,READ_ONLY). - access
To String - IP address or CIDR to grant access to.
- created
At String - Access rule creation date.
- id String
- Access rule ID.
- state String
- Access rule state.
- access
Level string - Access level (
READ_WRITE,READ_ONLY). - access
To string - IP address or CIDR to grant access to.
- created
At string - Access rule creation date.
- id string
- Access rule ID.
- state string
- Access rule state.
- access_
level str - Access level (
READ_WRITE,READ_ONLY). - access_
to str - IP address or CIDR to grant access to.
- created_
at str - Access rule creation date.
- id str
- Access rule ID.
- state str
- Access rule state.
- access
Level String - Access level (
READ_WRITE,READ_ONLY). - access
To String - IP address or CIDR to grant access to.
- created
At String - Access rule creation date.
- id String
- Access rule ID.
- state String
- Access rule state.
CloudStorageFileShareCurrentStateCapability, CloudStorageFileShareCurrentStateCapabilityArgs
CloudStorageFileShareCurrentStateExportLocation, CloudStorageFileShareCurrentStateExportLocationArgs
CloudStorageFileShareCurrentStateLocation, CloudStorageFileShareCurrentStateLocationArgs
- Availability
Zone string - Availability zone where the file share will be created. Changing this value recreates the resource.
- Region string
- Region where the file share will be created. Changing this value recreates the resource.
- Availability
Zone string - Availability zone where the file share will be created. Changing this value recreates the resource.
- Region string
- Region where the file share will be created. Changing this value recreates the resource.
- availability_
zone string - Availability zone where the file share will be created. Changing this value recreates the resource.
- region string
- Region where the file share will be created. Changing this value recreates the resource.
- availability
Zone String - Availability zone where the file share will be created. Changing this value recreates the resource.
- region String
- Region where the file share will be created. Changing this value recreates the resource.
- availability
Zone string - Availability zone where the file share will be created. Changing this value recreates the resource.
- region string
- Region where the file share will be created. Changing this value recreates the resource.
- availability_
zone str - Availability zone where the file share will be created. Changing this value recreates the resource.
- region str
- Region where the file share will be created. Changing this value recreates the resource.
- availability
Zone String - Availability zone where the file share will be created. Changing this value recreates the resource.
- region String
- Region where the file share will be created. Changing this value recreates the resource.
Import
A cloud storage file share can be imported using the service_name and file_share_id, separated by /:
terraform
import {
to = ovh_cloud_storage_file_share.share
id = “<service_name>/<file_share_id>”
}
bash
$ pulumi import ovh:index/cloudStorageFileShare:CloudStorageFileShare share service_name/file_share_id
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- ovh ovh/pulumi-ovh
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ovhTerraform Provider.
published on Friday, Jul 17, 2026 by OVHcloud