1. Packages
  2. Vkcs Provider
  3. API Docs
  4. SharedfilesystemShare
vkcs 0.9.3 published on Tuesday, Apr 15, 2025 by vk-cs

vkcs.SharedfilesystemShare

Explore with Pulumi AI

vkcs logo
vkcs 0.9.3 published on Tuesday, Apr 15, 2025 by vk-cs

    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:

    ShareNetworkId string
    required string → The UUID of the share network.
    ShareProto 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.
    AvailabilityZone 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.
    ShareType string
    optional string → The share type name. If you omit this parameter, the default share type is used.
    SharedfilesystemShareId string
    string → ID of the resource.
    SnapshotId string
    optional string → The UUID of the share's base snapshot. Changing this creates a new share.
    Timeouts SharedfilesystemShareTimeouts
    ShareNetworkId string
    required string → The UUID of the share network.
    ShareProto 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.
    AvailabilityZone 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.
    ShareType string
    optional string → The share type name. If you omit this parameter, the default share type is used.
    SharedfilesystemShareId string
    string → ID of the resource.
    SnapshotId string
    optional string → The UUID of the share's base snapshot. Changing this creates a new share.
    Timeouts SharedfilesystemShareTimeoutsArgs
    shareNetworkId String
    required string → The UUID of the share network.
    shareProto 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.
    availabilityZone 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.
    shareType String
    optional string → The share type name. If you omit this parameter, the default share type is used.
    sharedfilesystemShareId String
    string → ID of the resource.
    snapshotId String
    optional string → The UUID of the share's base snapshot. Changing this creates a new share.
    timeouts SharedfilesystemShareTimeouts
    shareNetworkId string
    required string → The UUID of the share network.
    shareProto 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.
    availabilityZone 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.
    shareType string
    optional string → The share type name. If you omit this parameter, the default share type is used.
    sharedfilesystemShareId string
    string → ID of the resource.
    snapshotId string
    optional string → The UUID of the share's base snapshot. Changing this creates a new share.
    timeouts SharedfilesystemShareTimeouts
    share_network_id str
    required string → The UUID of the share network.
    share_proto 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.
    share_type str
    optional string → The share type name. If you omit this parameter, the default share type is used.
    sharedfilesystem_share_id 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 SharedfilesystemShareTimeoutsArgs
    shareNetworkId String
    required string → The UUID of the share network.
    shareProto 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.
    availabilityZone 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.
    shareType String
    optional string → The share type name. If you omit this parameter, the default share type is used.
    sharedfilesystemShareId String
    string → ID of the resource.
    snapshotId 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:

    AllMetadata Dictionary<string, string>
    map of string → The map of metadata, assigned on the share, which has been explicitly and implicitly added.
    ExportLocationPath string
    string → The export location path of the share.New since v0.1.15.
    Id string
    The provider-assigned unique ID for this managed resource.
    ProjectId string
    string → The owner of the Share.
    ShareServerId string
    string → The UUID of the share server.
    AllMetadata map[string]string
    map of string → The map of metadata, assigned on the share, which has been explicitly and implicitly added.
    ExportLocationPath string
    string → The export location path of the share.New since v0.1.15.
    Id string
    The provider-assigned unique ID for this managed resource.
    ProjectId string
    string → The owner of the Share.
    ShareServerId string
    string → The UUID of the share server.
    allMetadata Map<String,String>
    map of string → The map of metadata, assigned on the share, which has been explicitly and implicitly added.
    exportLocationPath String
    string → The export location path of the share.New since v0.1.15.
    id String
    The provider-assigned unique ID for this managed resource.
    projectId String
    string → The owner of the Share.
    shareServerId String
    string → The UUID of the share server.
    allMetadata {[key: string]: string}
    map of string → The map of metadata, assigned on the share, which has been explicitly and implicitly added.
    exportLocationPath string
    string → The export location path of the share.New since v0.1.15.
    id string
    The provider-assigned unique ID for this managed resource.
    projectId string
    string → The owner of the Share.
    shareServerId 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_path str
    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.
    share_server_id str
    string → The UUID of the share server.
    allMetadata Map<String>
    map of string → The map of metadata, assigned on the share, which has been explicitly and implicitly added.
    exportLocationPath String
    string → The export location path of the share.New since v0.1.15.
    id String
    The provider-assigned unique ID for this managed resource.
    projectId String
    string → The owner of the Share.
    shareServerId 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.
    The following state arguments are supported:
    AllMetadata Dictionary<string, string>
    map of string → The map of metadata, assigned on the share, which has been explicitly and implicitly added.
    AvailabilityZone 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.
    ExportLocationPath string
    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.
    ProjectId 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.
    ShareNetworkId string
    required string → The UUID of the share network.
    ShareProto string
    required string → The share protocol - can either be NFS, CIFS, CEPHFS, GLUSTERFS, HDFS or MAPRFS. Changing this creates a new share.
    ShareServerId string
    string → The UUID of the share server.
    ShareType string
    optional string → The share type name. If you omit this parameter, the default share type is used.
    SharedfilesystemShareId 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.
    SnapshotId string
    optional string → The UUID of the share's base snapshot. Changing this creates a new share.
    Timeouts SharedfilesystemShareTimeouts
    AllMetadata map[string]string
    map of string → The map of metadata, assigned on the share, which has been explicitly and implicitly added.
    AvailabilityZone 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.
    ExportLocationPath string
    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.
    ProjectId 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.
    ShareNetworkId string
    required string → The UUID of the share network.
    ShareProto string
    required string → The share protocol - can either be NFS, CIFS, CEPHFS, GLUSTERFS, HDFS or MAPRFS. Changing this creates a new share.
    ShareServerId string
    string → The UUID of the share server.
    ShareType string
    optional string → The share type name. If you omit this parameter, the default share type is used.
    SharedfilesystemShareId 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.
    SnapshotId string
    optional string → The UUID of the share's base snapshot. Changing this creates a new share.
    Timeouts SharedfilesystemShareTimeoutsArgs
    allMetadata Map<String,String>
    map of string → The map of metadata, assigned on the share, which has been explicitly and implicitly added.
    availabilityZone 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.
    exportLocationPath String
    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.
    projectId 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.
    shareNetworkId String
    required string → The UUID of the share network.
    shareProto String
    required string → The share protocol - can either be NFS, CIFS, CEPHFS, GLUSTERFS, HDFS or MAPRFS. Changing this creates a new share.
    shareServerId String
    string → The UUID of the share server.
    shareType String
    optional string → The share type name. If you omit this parameter, the default share type is used.
    sharedfilesystemShareId 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.
    snapshotId String
    optional string → The UUID of the share's base snapshot. Changing this creates a new share.
    timeouts SharedfilesystemShareTimeouts
    allMetadata {[key: string]: string}
    map of string → The map of metadata, assigned on the share, which has been explicitly and implicitly added.
    availabilityZone 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.
    exportLocationPath string
    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.
    projectId 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.
    shareNetworkId string
    required string → The UUID of the share network.
    shareProto string
    required string → The share protocol - can either be NFS, CIFS, CEPHFS, GLUSTERFS, HDFS or MAPRFS. Changing this creates a new share.
    shareServerId string
    string → The UUID of the share server.
    shareType string
    optional string → The share type name. If you omit this parameter, the default share type is used.
    sharedfilesystemShareId 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.
    snapshotId string
    optional string → The UUID of the share's base snapshot. Changing this creates a new share.
    timeouts SharedfilesystemShareTimeouts
    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_path str
    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.
    share_network_id str
    required string → The UUID of the share network.
    share_proto str
    required string → The share protocol - can either be NFS, CIFS, CEPHFS, GLUSTERFS, HDFS or MAPRFS. Changing this creates a new share.
    share_server_id str
    string → The UUID of the share server.
    share_type str
    optional string → The share type name. If you omit this parameter, the default share type is used.
    sharedfilesystem_share_id 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 SharedfilesystemShareTimeoutsArgs
    allMetadata Map<String>
    map of string → The map of metadata, assigned on the share, which has been explicitly and implicitly added.
    availabilityZone 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.
    exportLocationPath String
    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.
    projectId 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.
    shareNetworkId String
    required string → The UUID of the share network.
    shareProto String
    required string → The share protocol - can either be NFS, CIFS, CEPHFS, GLUSTERFS, HDFS or MAPRFS. Changing this creates a new share.
    shareServerId String
    string → The UUID of the share server.
    shareType String
    optional string → The share type name. If you omit this parameter, the default share type is used.
    sharedfilesystemShareId 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.
    snapshotId String
    optional string → The UUID of the share's base snapshot. Changing this creates a new share.
    timeouts Property Map

    Supporting Types

    SharedfilesystemShareTimeouts, SharedfilesystemShareTimeoutsArgs

    Create string
    Delete string
    Update string
    Create string
    Delete string
    Update string
    create String
    delete String
    update String
    create string
    delete string
    update string
    create str
    delete str
    update str
    create String
    delete String
    update String

    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.
    vkcs logo
    vkcs 0.9.3 published on Tuesday, Apr 15, 2025 by vk-cs