vkcs.SharedfilesystemShare
Explore with Pulumi AI
Use this resource to configure a share.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as vkcs from "@pulumi/vkcs";
const data = new vkcs.SharedfilesystemShare("data", {
description: "example of creating tf share",
shareProto: "NFS",
shareType: "default_share_type",
size: 1,
shareNetworkId: vkcs_sharedfilesystem_sharenetwork.data.id,
}, {
dependsOn: [vkcs_networking_router_interface.app],
});
import pulumi
import pulumi_vkcs as vkcs
data = vkcs.SharedfilesystemShare("data",
description="example of creating tf share",
share_proto="NFS",
share_type="default_share_type",
size=1,
share_network_id=vkcs_sharedfilesystem_sharenetwork["data"]["id"],
opts = pulumi.ResourceOptions(depends_on=[vkcs_networking_router_interface["app"]]))
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/vkcs/vkcs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vkcs.NewSharedfilesystemShare(ctx, "data", &vkcs.SharedfilesystemShareArgs{
Description: pulumi.String("example of creating tf share"),
ShareProto: pulumi.String("NFS"),
ShareType: pulumi.String("default_share_type"),
Size: pulumi.Float64(1),
ShareNetworkId: pulumi.Any(vkcs_sharedfilesystem_sharenetwork.Data.Id),
}, pulumi.DependsOn([]pulumi.Resource{
vkcs_networking_router_interface.App,
}))
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vkcs = Pulumi.Vkcs;
return await Deployment.RunAsync(() =>
{
var data = new Vkcs.SharedfilesystemShare("data", new()
{
Description = "example of creating tf share",
ShareProto = "NFS",
ShareType = "default_share_type",
Size = 1,
ShareNetworkId = vkcs_sharedfilesystem_sharenetwork.Data.Id,
}, new CustomResourceOptions
{
DependsOn =
{
vkcs_networking_router_interface.App,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vkcs.SharedfilesystemShare;
import com.pulumi.vkcs.SharedfilesystemShareArgs;
import com.pulumi.resources.CustomResourceOptions;
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) {
var data = new SharedfilesystemShare("data", SharedfilesystemShareArgs.builder()
.description("example of creating tf share")
.shareProto("NFS")
.shareType("default_share_type")
.size(1)
.shareNetworkId(vkcs_sharedfilesystem_sharenetwork.data().id())
.build(), CustomResourceOptions.builder()
.dependsOn(vkcs_networking_router_interface.app())
.build());
}
}
resources:
data:
type: vkcs:SharedfilesystemShare
properties:
description: example of creating tf share
shareProto: NFS
shareType: default_share_type
size: 1
shareNetworkId: ${vkcs_sharedfilesystem_sharenetwork.data.id}
options:
dependsOn:
- ${vkcs_networking_router_interface.app}
Create SharedfilesystemShare Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SharedfilesystemShare(name: string, args: SharedfilesystemShareArgs, opts?: CustomResourceOptions);
@overload
def SharedfilesystemShare(resource_name: str,
args: SharedfilesystemShareArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SharedfilesystemShare(resource_name: str,
opts: Optional[ResourceOptions] = None,
share_network_id: Optional[str] = None,
share_proto: Optional[str] = None,
size: Optional[float] = None,
availability_zone: Optional[str] = None,
description: Optional[str] = None,
name: Optional[str] = None,
region: Optional[str] = None,
share_type: Optional[str] = None,
sharedfilesystem_share_id: Optional[str] = None,
snapshot_id: Optional[str] = None,
timeouts: Optional[SharedfilesystemShareTimeoutsArgs] = None)
func NewSharedfilesystemShare(ctx *Context, name string, args SharedfilesystemShareArgs, opts ...ResourceOption) (*SharedfilesystemShare, error)
public SharedfilesystemShare(string name, SharedfilesystemShareArgs args, CustomResourceOptions? opts = null)
public SharedfilesystemShare(String name, SharedfilesystemShareArgs args)
public SharedfilesystemShare(String name, SharedfilesystemShareArgs args, CustomResourceOptions options)
type: vkcs:SharedfilesystemShare
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 SharedfilesystemShareArgs
- 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 SharedfilesystemShareArgs
- 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 SharedfilesystemShareArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SharedfilesystemShareArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SharedfilesystemShareArgs
- 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 sharedfilesystemShareResource = new Vkcs.SharedfilesystemShare("sharedfilesystemShareResource", new()
{
ShareNetworkId = "string",
ShareProto = "string",
Size = 0,
AvailabilityZone = "string",
Description = "string",
Name = "string",
Region = "string",
ShareType = "string",
SharedfilesystemShareId = "string",
SnapshotId = "string",
Timeouts = new Vkcs.Inputs.SharedfilesystemShareTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
});
example, err := vkcs.NewSharedfilesystemShare(ctx, "sharedfilesystemShareResource", &vkcs.SharedfilesystemShareArgs{
ShareNetworkId: pulumi.String("string"),
ShareProto: pulumi.String("string"),
Size: pulumi.Float64(0),
AvailabilityZone: pulumi.String("string"),
Description: pulumi.String("string"),
Name: pulumi.String("string"),
Region: pulumi.String("string"),
ShareType: pulumi.String("string"),
SharedfilesystemShareId: pulumi.String("string"),
SnapshotId: pulumi.String("string"),
Timeouts: &vkcs.SharedfilesystemShareTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var sharedfilesystemShareResource = new SharedfilesystemShare("sharedfilesystemShareResource", SharedfilesystemShareArgs.builder()
.shareNetworkId("string")
.shareProto("string")
.size(0)
.availabilityZone("string")
.description("string")
.name("string")
.region("string")
.shareType("string")
.sharedfilesystemShareId("string")
.snapshotId("string")
.timeouts(SharedfilesystemShareTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.build());
sharedfilesystem_share_resource = vkcs.SharedfilesystemShare("sharedfilesystemShareResource",
share_network_id="string",
share_proto="string",
size=0,
availability_zone="string",
description="string",
name="string",
region="string",
share_type="string",
sharedfilesystem_share_id="string",
snapshot_id="string",
timeouts={
"create": "string",
"delete": "string",
"update": "string",
})
const sharedfilesystemShareResource = new vkcs.SharedfilesystemShare("sharedfilesystemShareResource", {
shareNetworkId: "string",
shareProto: "string",
size: 0,
availabilityZone: "string",
description: "string",
name: "string",
region: "string",
shareType: "string",
sharedfilesystemShareId: "string",
snapshotId: "string",
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: vkcs:SharedfilesystemShare
properties:
availabilityZone: string
description: string
name: string
region: string
shareNetworkId: string
shareProto: string
shareType: string
sharedfilesystemShareId: string
size: 0
snapshotId: string
timeouts:
create: string
delete: string
update: string
SharedfilesystemShare 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 SharedfilesystemShare resource accepts the following input properties:
- string
- required string → The UUID of the share network.
- string
- required string → The share protocol - can either be NFS, CIFS, CEPHFS, GLUSTERFS, HDFS or MAPRFS. Changing this creates a new share.
- Size double
- required number → The share size, in GBs. The requested share size cannot be greater than the allowed GB quota. Changing this resizes the existing share.
- Availability
Zone string - optional string → The share availability zone. Changing this creates a new share.
- Description string
- optional string → The human-readable description for the share. Changing this updates the description of the existing share.
- Name string
- required string → The name of the share. Changing this updates the name of the existing share.
- Region string
- optional string → The region in which to obtain the Shared File System client. A Shared File System client is needed to create a share. Changing this creates a new share.
- string
- optional string → The share type name. If you omit this parameter, the default share type is used.
- string
- string → ID of the resource.
- Snapshot
Id string - optional string → The UUID of the share's base snapshot. Changing this creates a new share.
- Timeouts
Sharedfilesystem
Share Timeouts
- string
- required string → The UUID of the share network.
- string
- required string → The share protocol - can either be NFS, CIFS, CEPHFS, GLUSTERFS, HDFS or MAPRFS. Changing this creates a new share.
- Size float64
- required number → The share size, in GBs. The requested share size cannot be greater than the allowed GB quota. Changing this resizes the existing share.
- Availability
Zone string - optional string → The share availability zone. Changing this creates a new share.
- Description string
- optional string → The human-readable description for the share. Changing this updates the description of the existing share.
- Name string
- required string → The name of the share. Changing this updates the name of the existing share.
- Region string
- optional string → The region in which to obtain the Shared File System client. A Shared File System client is needed to create a share. Changing this creates a new share.
- string
- optional string → The share type name. If you omit this parameter, the default share type is used.
- string
- string → ID of the resource.
- Snapshot
Id string - optional string → The UUID of the share's base snapshot. Changing this creates a new share.
- Timeouts
Sharedfilesystem
Share Timeouts Args
- String
- required string → The UUID of the share network.
- String
- required string → The share protocol - can either be NFS, CIFS, CEPHFS, GLUSTERFS, HDFS or MAPRFS. Changing this creates a new share.
- size Double
- required number → The share size, in GBs. The requested share size cannot be greater than the allowed GB quota. Changing this resizes the existing share.
- availability
Zone String - optional string → The share availability zone. Changing this creates a new share.
- description String
- optional string → The human-readable description for the share. Changing this updates the description of the existing share.
- name String
- required string → The name of the share. Changing this updates the name of the existing share.
- region String
- optional string → The region in which to obtain the Shared File System client. A Shared File System client is needed to create a share. Changing this creates a new share.
- String
- optional string → The share type name. If you omit this parameter, the default share type is used.
- String
- string → ID of the resource.
- snapshot
Id String - optional string → The UUID of the share's base snapshot. Changing this creates a new share.
- timeouts
Sharedfilesystem
Share Timeouts
- string
- required string → The UUID of the share network.
- string
- required string → The share protocol - can either be NFS, CIFS, CEPHFS, GLUSTERFS, HDFS or MAPRFS. Changing this creates a new share.
- size number
- required number → The share size, in GBs. The requested share size cannot be greater than the allowed GB quota. Changing this resizes the existing share.
- availability
Zone string - optional string → The share availability zone. Changing this creates a new share.
- description string
- optional string → The human-readable description for the share. Changing this updates the description of the existing share.
- name string
- required string → The name of the share. Changing this updates the name of the existing share.
- region string
- optional string → The region in which to obtain the Shared File System client. A Shared File System client is needed to create a share. Changing this creates a new share.
- string
- optional string → The share type name. If you omit this parameter, the default share type is used.
- string
- string → ID of the resource.
- snapshot
Id string - optional string → The UUID of the share's base snapshot. Changing this creates a new share.
- timeouts
Sharedfilesystem
Share Timeouts
- str
- required string → The UUID of the share network.
- str
- required string → The share protocol - can either be NFS, CIFS, CEPHFS, GLUSTERFS, HDFS or MAPRFS. Changing this creates a new share.
- size float
- required number → The share size, in GBs. The requested share size cannot be greater than the allowed GB quota. Changing this resizes the existing share.
- availability_
zone str - optional string → The share availability zone. Changing this creates a new share.
- description str
- optional string → The human-readable description for the share. Changing this updates the description of the existing share.
- name str
- required string → The name of the share. Changing this updates the name of the existing share.
- region str
- optional string → The region in which to obtain the Shared File System client. A Shared File System client is needed to create a share. Changing this creates a new share.
- str
- optional string → The share type name. If you omit this parameter, the default share type is used.
- str
- string → ID of the resource.
- snapshot_
id str - optional string → The UUID of the share's base snapshot. Changing this creates a new share.
- timeouts
Sharedfilesystem
Share Timeouts Args
- String
- required string → The UUID of the share network.
- String
- required string → The share protocol - can either be NFS, CIFS, CEPHFS, GLUSTERFS, HDFS or MAPRFS. Changing this creates a new share.
- size Number
- required number → The share size, in GBs. The requested share size cannot be greater than the allowed GB quota. Changing this resizes the existing share.
- availability
Zone String - optional string → The share availability zone. Changing this creates a new share.
- description String
- optional string → The human-readable description for the share. Changing this updates the description of the existing share.
- name String
- required string → The name of the share. Changing this updates the name of the existing share.
- region String
- optional string → The region in which to obtain the Shared File System client. A Shared File System client is needed to create a share. Changing this creates a new share.
- String
- optional string → The share type name. If you omit this parameter, the default share type is used.
- String
- string → ID of the resource.
- snapshot
Id String - optional string → The UUID of the share's base snapshot. Changing this creates a new share.
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the SharedfilesystemShare resource produces the following output properties:
- All
Metadata Dictionary<string, string> - map of string → The map of metadata, assigned on the share, which has been explicitly and implicitly added.
- Export
Location stringPath - string → The export location path of the share.New since v0.1.15.
- Id string
- The provider-assigned unique ID for this managed resource.
- Project
Id string - string → The owner of the Share.
- string
- string → The UUID of the share server.
- All
Metadata map[string]string - map of string → The map of metadata, assigned on the share, which has been explicitly and implicitly added.
- Export
Location stringPath - string → The export location path of the share.New since v0.1.15.
- Id string
- The provider-assigned unique ID for this managed resource.
- Project
Id string - string → The owner of the Share.
- string
- string → The UUID of the share server.
- all
Metadata Map<String,String> - map of string → The map of metadata, assigned on the share, which has been explicitly and implicitly added.
- export
Location StringPath - string → The export location path of the share.New since v0.1.15.
- id String
- The provider-assigned unique ID for this managed resource.
- project
Id String - string → The owner of the Share.
- String
- string → The UUID of the share server.
- all
Metadata {[key: string]: string} - map of string → The map of metadata, assigned on the share, which has been explicitly and implicitly added.
- export
Location stringPath - string → The export location path of the share.New since v0.1.15.
- id string
- The provider-assigned unique ID for this managed resource.
- project
Id string - string → The owner of the Share.
- string
- string → The UUID of the share server.
- all_
metadata Mapping[str, str] - map of string → The map of metadata, assigned on the share, which has been explicitly and implicitly added.
- export_
location_ strpath - string → The export location path of the share.New since v0.1.15.
- id str
- The provider-assigned unique ID for this managed resource.
- project_
id str - string → The owner of the Share.
- str
- string → The UUID of the share server.
- all
Metadata Map<String> - map of string → The map of metadata, assigned on the share, which has been explicitly and implicitly added.
- export
Location StringPath - string → The export location path of the share.New since v0.1.15.
- id String
- The provider-assigned unique ID for this managed resource.
- project
Id String - string → The owner of the Share.
- String
- string → The UUID of the share server.
Look up Existing SharedfilesystemShare Resource
Get an existing SharedfilesystemShare 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?: SharedfilesystemShareState, opts?: CustomResourceOptions): SharedfilesystemShare
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
all_metadata: Optional[Mapping[str, str]] = None,
availability_zone: Optional[str] = None,
description: Optional[str] = None,
export_location_path: Optional[str] = None,
name: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
share_network_id: Optional[str] = None,
share_proto: Optional[str] = None,
share_server_id: Optional[str] = None,
share_type: Optional[str] = None,
sharedfilesystem_share_id: Optional[str] = None,
size: Optional[float] = None,
snapshot_id: Optional[str] = None,
timeouts: Optional[SharedfilesystemShareTimeoutsArgs] = None) -> SharedfilesystemShare
func GetSharedfilesystemShare(ctx *Context, name string, id IDInput, state *SharedfilesystemShareState, opts ...ResourceOption) (*SharedfilesystemShare, error)
public static SharedfilesystemShare Get(string name, Input<string> id, SharedfilesystemShareState? state, CustomResourceOptions? opts = null)
public static SharedfilesystemShare get(String name, Output<String> id, SharedfilesystemShareState state, CustomResourceOptions options)
resources: _: type: vkcs:SharedfilesystemShare 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.
- All
Metadata Dictionary<string, string> - map of string → The map of metadata, assigned on the share, which has been explicitly and implicitly added.
- Availability
Zone string - optional string → The share availability zone. Changing this creates a new share.
- Description string
- optional string → The human-readable description for the share. Changing this updates the description of the existing share.
- Export
Location stringPath - string → The export location path of the share.New since v0.1.15.
- Name string
- required string → The name of the share. Changing this updates the name of the existing share.
- Project
Id string - string → The owner of the Share.
- Region string
- optional string → The region in which to obtain the Shared File System client. A Shared File System client is needed to create a share. Changing this creates a new share.
- string
- required string → The UUID of the share network.
- string
- required string → The share protocol - can either be NFS, CIFS, CEPHFS, GLUSTERFS, HDFS or MAPRFS. Changing this creates a new share.
- string
- string → The UUID of the share server.
- string
- optional string → The share type name. If you omit this parameter, the default share type is used.
- string
- string → ID of the resource.
- Size double
- required number → The share size, in GBs. The requested share size cannot be greater than the allowed GB quota. Changing this resizes the existing share.
- Snapshot
Id string - optional string → The UUID of the share's base snapshot. Changing this creates a new share.
- Timeouts
Sharedfilesystem
Share Timeouts
- All
Metadata map[string]string - map of string → The map of metadata, assigned on the share, which has been explicitly and implicitly added.
- Availability
Zone string - optional string → The share availability zone. Changing this creates a new share.
- Description string
- optional string → The human-readable description for the share. Changing this updates the description of the existing share.
- Export
Location stringPath - string → The export location path of the share.New since v0.1.15.
- Name string
- required string → The name of the share. Changing this updates the name of the existing share.
- Project
Id string - string → The owner of the Share.
- Region string
- optional string → The region in which to obtain the Shared File System client. A Shared File System client is needed to create a share. Changing this creates a new share.
- string
- required string → The UUID of the share network.
- string
- required string → The share protocol - can either be NFS, CIFS, CEPHFS, GLUSTERFS, HDFS or MAPRFS. Changing this creates a new share.
- string
- string → The UUID of the share server.
- string
- optional string → The share type name. If you omit this parameter, the default share type is used.
- string
- string → ID of the resource.
- Size float64
- required number → The share size, in GBs. The requested share size cannot be greater than the allowed GB quota. Changing this resizes the existing share.
- Snapshot
Id string - optional string → The UUID of the share's base snapshot. Changing this creates a new share.
- Timeouts
Sharedfilesystem
Share Timeouts Args
- all
Metadata Map<String,String> - map of string → The map of metadata, assigned on the share, which has been explicitly and implicitly added.
- availability
Zone String - optional string → The share availability zone. Changing this creates a new share.
- description String
- optional string → The human-readable description for the share. Changing this updates the description of the existing share.
- export
Location StringPath - string → The export location path of the share.New since v0.1.15.
- name String
- required string → The name of the share. Changing this updates the name of the existing share.
- project
Id String - string → The owner of the Share.
- region String
- optional string → The region in which to obtain the Shared File System client. A Shared File System client is needed to create a share. Changing this creates a new share.
- String
- required string → The UUID of the share network.
- String
- required string → The share protocol - can either be NFS, CIFS, CEPHFS, GLUSTERFS, HDFS or MAPRFS. Changing this creates a new share.
- String
- string → The UUID of the share server.
- String
- optional string → The share type name. If you omit this parameter, the default share type is used.
- String
- string → ID of the resource.
- size Double
- required number → The share size, in GBs. The requested share size cannot be greater than the allowed GB quota. Changing this resizes the existing share.
- snapshot
Id String - optional string → The UUID of the share's base snapshot. Changing this creates a new share.
- timeouts
Sharedfilesystem
Share Timeouts
- all
Metadata {[key: string]: string} - map of string → The map of metadata, assigned on the share, which has been explicitly and implicitly added.
- availability
Zone string - optional string → The share availability zone. Changing this creates a new share.
- description string
- optional string → The human-readable description for the share. Changing this updates the description of the existing share.
- export
Location stringPath - string → The export location path of the share.New since v0.1.15.
- name string
- required string → The name of the share. Changing this updates the name of the existing share.
- project
Id string - string → The owner of the Share.
- region string
- optional string → The region in which to obtain the Shared File System client. A Shared File System client is needed to create a share. Changing this creates a new share.
- string
- required string → The UUID of the share network.
- string
- required string → The share protocol - can either be NFS, CIFS, CEPHFS, GLUSTERFS, HDFS or MAPRFS. Changing this creates a new share.
- string
- string → The UUID of the share server.
- string
- optional string → The share type name. If you omit this parameter, the default share type is used.
- string
- string → ID of the resource.
- size number
- required number → The share size, in GBs. The requested share size cannot be greater than the allowed GB quota. Changing this resizes the existing share.
- snapshot
Id string - optional string → The UUID of the share's base snapshot. Changing this creates a new share.
- timeouts
Sharedfilesystem
Share Timeouts
- all_
metadata Mapping[str, str] - map of string → The map of metadata, assigned on the share, which has been explicitly and implicitly added.
- availability_
zone str - optional string → The share availability zone. Changing this creates a new share.
- description str
- optional string → The human-readable description for the share. Changing this updates the description of the existing share.
- export_
location_ strpath - string → The export location path of the share.New since v0.1.15.
- name str
- required string → The name of the share. Changing this updates the name of the existing share.
- project_
id str - string → The owner of the Share.
- region str
- optional string → The region in which to obtain the Shared File System client. A Shared File System client is needed to create a share. Changing this creates a new share.
- str
- required string → The UUID of the share network.
- str
- required string → The share protocol - can either be NFS, CIFS, CEPHFS, GLUSTERFS, HDFS or MAPRFS. Changing this creates a new share.
- str
- string → The UUID of the share server.
- str
- optional string → The share type name. If you omit this parameter, the default share type is used.
- str
- string → ID of the resource.
- size float
- required number → The share size, in GBs. The requested share size cannot be greater than the allowed GB quota. Changing this resizes the existing share.
- snapshot_
id str - optional string → The UUID of the share's base snapshot. Changing this creates a new share.
- timeouts
Sharedfilesystem
Share Timeouts Args
- all
Metadata Map<String> - map of string → The map of metadata, assigned on the share, which has been explicitly and implicitly added.
- availability
Zone String - optional string → The share availability zone. Changing this creates a new share.
- description String
- optional string → The human-readable description for the share. Changing this updates the description of the existing share.
- export
Location StringPath - string → The export location path of the share.New since v0.1.15.
- name String
- required string → The name of the share. Changing this updates the name of the existing share.
- project
Id String - string → The owner of the Share.
- region String
- optional string → The region in which to obtain the Shared File System client. A Shared File System client is needed to create a share. Changing this creates a new share.
- String
- required string → The UUID of the share network.
- String
- required string → The share protocol - can either be NFS, CIFS, CEPHFS, GLUSTERFS, HDFS or MAPRFS. Changing this creates a new share.
- String
- string → The UUID of the share server.
- String
- optional string → The share type name. If you omit this parameter, the default share type is used.
- String
- string → ID of the resource.
- size Number
- required number → The share size, in GBs. The requested share size cannot be greater than the allowed GB quota. Changing this resizes the existing share.
- snapshot
Id String - optional string → The UUID of the share's base snapshot. Changing this creates a new share.
- timeouts Property Map
Supporting Types
SharedfilesystemShareTimeouts, SharedfilesystemShareTimeoutsArgs
Import
This resource can be imported by specifying the ID of the share:
$ pulumi import vkcs:index/sharedfilesystemShare:SharedfilesystemShare share_1 829b7299-eae0-4860-88d4-13d03f0e9e2c
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- vkcs vk-cs/terraform-provider-vkcs
- License
- Notes
- This Pulumi package is based on the
vkcs
Terraform Provider.