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

vkcs.getSharedfilesystemSharenetwork

Explore with Pulumi AI

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

    Use this data source to get the ID of an available Shared File System share network.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as vkcs from "@pulumi/vkcs";
    
    const data = vkcs.getSharedfilesystemSharenetwork({
        name: "sharenetwork-tf-example",
    });
    
    import pulumi
    import pulumi_vkcs as vkcs
    
    data = vkcs.get_sharedfilesystem_sharenetwork(name="sharenetwork-tf-example")
    
    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.LookupSharedfilesystemSharenetwork(ctx, &vkcs.LookupSharedfilesystemSharenetworkArgs{
    			Name: pulumi.StringRef("sharenetwork-tf-example"),
    		}, nil)
    		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 = Vkcs.GetSharedfilesystemSharenetwork.Invoke(new()
        {
            Name = "sharenetwork-tf-example",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vkcs.VkcsFunctions;
    import com.pulumi.vkcs.inputs.GetSharedfilesystemSharenetworkArgs;
    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) {
            final var data = VkcsFunctions.getSharedfilesystemSharenetwork(GetSharedfilesystemSharenetworkArgs.builder()
                .name("sharenetwork-tf-example")
                .build());
    
        }
    }
    
    variables:
      data:
        fn::invoke:
          function: vkcs:getSharedfilesystemSharenetwork
          arguments:
            name: sharenetwork-tf-example
    

    Using getSharedfilesystemSharenetwork

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getSharedfilesystemSharenetwork(args: GetSharedfilesystemSharenetworkArgs, opts?: InvokeOptions): Promise<GetSharedfilesystemSharenetworkResult>
    function getSharedfilesystemSharenetworkOutput(args: GetSharedfilesystemSharenetworkOutputArgs, opts?: InvokeOptions): Output<GetSharedfilesystemSharenetworkResult>
    def get_sharedfilesystem_sharenetwork(description: Optional[str] = None,
                                          name: Optional[str] = None,
                                          neutron_net_id: Optional[str] = None,
                                          neutron_subnet_id: Optional[str] = None,
                                          region: Optional[str] = None,
                                          security_service_id: Optional[str] = None,
                                          opts: Optional[InvokeOptions] = None) -> GetSharedfilesystemSharenetworkResult
    def get_sharedfilesystem_sharenetwork_output(description: Optional[pulumi.Input[str]] = None,
                                          name: Optional[pulumi.Input[str]] = None,
                                          neutron_net_id: Optional[pulumi.Input[str]] = None,
                                          neutron_subnet_id: Optional[pulumi.Input[str]] = None,
                                          region: Optional[pulumi.Input[str]] = None,
                                          security_service_id: Optional[pulumi.Input[str]] = None,
                                          opts: Optional[InvokeOptions] = None) -> Output[GetSharedfilesystemSharenetworkResult]
    func LookupSharedfilesystemSharenetwork(ctx *Context, args *LookupSharedfilesystemSharenetworkArgs, opts ...InvokeOption) (*LookupSharedfilesystemSharenetworkResult, error)
    func LookupSharedfilesystemSharenetworkOutput(ctx *Context, args *LookupSharedfilesystemSharenetworkOutputArgs, opts ...InvokeOption) LookupSharedfilesystemSharenetworkResultOutput

    > Note: This function is named LookupSharedfilesystemSharenetwork in the Go SDK.

    public static class GetSharedfilesystemSharenetwork 
    {
        public static Task<GetSharedfilesystemSharenetworkResult> InvokeAsync(GetSharedfilesystemSharenetworkArgs args, InvokeOptions? opts = null)
        public static Output<GetSharedfilesystemSharenetworkResult> Invoke(GetSharedfilesystemSharenetworkInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSharedfilesystemSharenetworkResult> getSharedfilesystemSharenetwork(GetSharedfilesystemSharenetworkArgs args, InvokeOptions options)
    public static Output<GetSharedfilesystemSharenetworkResult> getSharedfilesystemSharenetwork(GetSharedfilesystemSharenetworkArgs args, InvokeOptions options)
    
    fn::invoke:
      function: vkcs:index/getSharedfilesystemSharenetwork:getSharedfilesystemSharenetwork
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Description string
    optional string → The human-readable description of the share network.
    Name string
    optional string → The name of the share network.
    NeutronNetId string
    optional string → The neutron network UUID of the share network.
    NeutronSubnetId string
    optional string → The neutron subnet UUID of the share network.
    Region string
    optional string → The region in which to obtain the Shared File System client. A Shared File System client is needed to read a share network. If omitted, the region argument of the provider is used.
    SecurityServiceId string
    optional string → The security service IDs associated with the share network.
    Description string
    optional string → The human-readable description of the share network.
    Name string
    optional string → The name of the share network.
    NeutronNetId string
    optional string → The neutron network UUID of the share network.
    NeutronSubnetId string
    optional string → The neutron subnet UUID of the share network.
    Region string
    optional string → The region in which to obtain the Shared File System client. A Shared File System client is needed to read a share network. If omitted, the region argument of the provider is used.
    SecurityServiceId string
    optional string → The security service IDs associated with the share network.
    description String
    optional string → The human-readable description of the share network.
    name String
    optional string → The name of the share network.
    neutronNetId String
    optional string → The neutron network UUID of the share network.
    neutronSubnetId String
    optional string → The neutron subnet UUID of the share network.
    region String
    optional string → The region in which to obtain the Shared File System client. A Shared File System client is needed to read a share network. If omitted, the region argument of the provider is used.
    securityServiceId String
    optional string → The security service IDs associated with the share network.
    description string
    optional string → The human-readable description of the share network.
    name string
    optional string → The name of the share network.
    neutronNetId string
    optional string → The neutron network UUID of the share network.
    neutronSubnetId string
    optional string → The neutron subnet UUID of the share network.
    region string
    optional string → The region in which to obtain the Shared File System client. A Shared File System client is needed to read a share network. If omitted, the region argument of the provider is used.
    securityServiceId string
    optional string → The security service IDs associated with the share network.
    description str
    optional string → The human-readable description of the share network.
    name str
    optional string → The name of the share network.
    neutron_net_id str
    optional string → The neutron network UUID of the share network.
    neutron_subnet_id str
    optional string → The neutron subnet UUID of the share network.
    region str
    optional string → The region in which to obtain the Shared File System client. A Shared File System client is needed to read a share network. If omitted, the region argument of the provider is used.
    security_service_id str
    optional string → The security service IDs associated with the share network.
    description String
    optional string → The human-readable description of the share network.
    name String
    optional string → The name of the share network.
    neutronNetId String
    optional string → The neutron network UUID of the share network.
    neutronSubnetId String
    optional string → The neutron subnet UUID of the share network.
    region String
    optional string → The region in which to obtain the Shared File System client. A Shared File System client is needed to read a share network. If omitted, the region argument of the provider is used.
    securityServiceId String
    optional string → The security service IDs associated with the share network.

    getSharedfilesystemSharenetwork Result

    The following output properties are available:

    Cidr string
    string → The share network CIDR.
    Description string
    Id string
    string → The UUID of the share network.
    Name string
    NeutronNetId string
    NeutronSubnetId string
    ProjectId string
    string → The owner of the share network.
    Region string
    SecurityServiceIds List<string>
    set of string → The list of security service IDs associated with the share network.
    SecurityServiceId string
    Cidr string
    string → The share network CIDR.
    Description string
    Id string
    string → The UUID of the share network.
    Name string
    NeutronNetId string
    NeutronSubnetId string
    ProjectId string
    string → The owner of the share network.
    Region string
    SecurityServiceIds []string
    set of string → The list of security service IDs associated with the share network.
    SecurityServiceId string
    cidr String
    string → The share network CIDR.
    description String
    id String
    string → The UUID of the share network.
    name String
    neutronNetId String
    neutronSubnetId String
    projectId String
    string → The owner of the share network.
    region String
    securityServiceIds List<String>
    set of string → The list of security service IDs associated with the share network.
    securityServiceId String
    cidr string
    string → The share network CIDR.
    description string
    id string
    string → The UUID of the share network.
    name string
    neutronNetId string
    neutronSubnetId string
    projectId string
    string → The owner of the share network.
    region string
    securityServiceIds string[]
    set of string → The list of security service IDs associated with the share network.
    securityServiceId string
    cidr str
    string → The share network CIDR.
    description str
    id str
    string → The UUID of the share network.
    name str
    neutron_net_id str
    neutron_subnet_id str
    project_id str
    string → The owner of the share network.
    region str
    security_service_ids Sequence[str]
    set of string → The list of security service IDs associated with the share network.
    security_service_id str
    cidr String
    string → The share network CIDR.
    description String
    id String
    string → The UUID of the share network.
    name String
    neutronNetId String
    neutronSubnetId String
    projectId String
    string → The owner of the share network.
    region String
    securityServiceIds List<String>
    set of string → The list of security service IDs associated with the share network.
    securityServiceId String

    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