vkcs 0.9.3 published on Tuesday, Apr 15, 2025 by vk-cs
vkcs.getSharedfilesystemSharenetwork
Explore with Pulumi AI
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 dictionaryThe 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.
- NeutronNet stringId 
- optional string → The neutron network UUID of the share network.
- NeutronSubnet stringId 
- 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 regionargument of the provider is used.
- SecurityService stringId 
- 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.
- NeutronNet stringId 
- optional string → The neutron network UUID of the share network.
- NeutronSubnet stringId 
- 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 regionargument of the provider is used.
- SecurityService stringId 
- 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.
- neutronNet StringId 
- optional string → The neutron network UUID of the share network.
- neutronSubnet StringId 
- 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 regionargument of the provider is used.
- securityService StringId 
- 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.
- neutronNet stringId 
- optional string → The neutron network UUID of the share network.
- neutronSubnet stringId 
- 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 regionargument of the provider is used.
- securityService stringId 
- 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_ strid 
- optional string → The neutron network UUID of the share network.
- neutron_subnet_ strid 
- 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 regionargument of the provider is used.
- security_service_ strid 
- 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.
- neutronNet StringId 
- optional string → The neutron network UUID of the share network.
- neutronSubnet StringId 
- 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 regionargument of the provider is used.
- securityService StringId 
- 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
- NeutronNet stringId 
- NeutronSubnet stringId 
- ProjectId string
- string → The owner of the share network.
- Region string
- SecurityService List<string>Ids 
- set of string → The list of security service IDs associated with the share network.
- SecurityService stringId 
- Cidr string
- string → The share network CIDR.
- Description string
- Id string
- string → The UUID of the share network.
- Name string
- NeutronNet stringId 
- NeutronSubnet stringId 
- ProjectId string
- string → The owner of the share network.
- Region string
- SecurityService []stringIds 
- set of string → The list of security service IDs associated with the share network.
- SecurityService stringId 
- cidr String
- string → The share network CIDR.
- description String
- id String
- string → The UUID of the share network.
- name String
- neutronNet StringId 
- neutronSubnet StringId 
- projectId String
- string → The owner of the share network.
- region String
- securityService List<String>Ids 
- set of string → The list of security service IDs associated with the share network.
- securityService StringId 
- cidr string
- string → The share network CIDR.
- description string
- id string
- string → The UUID of the share network.
- name string
- neutronNet stringId 
- neutronSubnet stringId 
- projectId string
- string → The owner of the share network.
- region string
- securityService string[]Ids 
- set of string → The list of security service IDs associated with the share network.
- securityService stringId 
- cidr str
- string → The share network CIDR.
- description str
- id str
- string → The UUID of the share network.
- name str
- neutron_net_ strid 
- neutron_subnet_ strid 
- project_id str
- string → The owner of the share network.
- region str
- security_service_ Sequence[str]ids 
- set of string → The list of security service IDs associated with the share network.
- security_service_ strid 
- cidr String
- string → The share network CIDR.
- description String
- id String
- string → The UUID of the share network.
- name String
- neutronNet StringId 
- neutronSubnet StringId 
- projectId String
- string → The owner of the share network.
- region String
- securityService List<String>Ids 
- set of string → The list of security service IDs associated with the share network.
- securityService StringId 
Package Details
- Repository
- vkcs vk-cs/terraform-provider-vkcs
- License
- Notes
- This Pulumi package is based on the vkcsTerraform Provider.