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 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.
- Neutron
Net stringId - optional string → The neutron network UUID of the share network.
- Neutron
Subnet 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
region
argument of the provider is used. - Security
Service 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.
- Neutron
Net stringId - optional string → The neutron network UUID of the share network.
- Neutron
Subnet 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
region
argument of the provider is used. - Security
Service 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.
- neutron
Net StringId - optional string → The neutron network UUID of the share network.
- neutron
Subnet 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
region
argument of the provider is used. - security
Service 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.
- neutron
Net stringId - optional string → The neutron network UUID of the share network.
- neutron
Subnet 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
region
argument of the provider is used. - security
Service 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
region
argument 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.
- neutron
Net StringId - optional string → The neutron network UUID of the share network.
- neutron
Subnet 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
region
argument of the provider is used. - security
Service 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
- Neutron
Net stringId - Neutron
Subnet stringId - Project
Id string - string → The owner of the share network.
- Region string
- Security
Service List<string>Ids - set of string → The list of security service IDs associated with the share network.
- Security
Service stringId
- Cidr string
- string → The share network CIDR.
- Description string
- Id string
- string → The UUID of the share network.
- Name string
- Neutron
Net stringId - Neutron
Subnet stringId - Project
Id string - string → The owner of the share network.
- Region string
- Security
Service []stringIds - set of string → The list of security service IDs associated with the share network.
- Security
Service stringId
- cidr String
- string → The share network CIDR.
- description String
- id String
- string → The UUID of the share network.
- name String
- neutron
Net StringId - neutron
Subnet StringId - project
Id String - string → The owner of the share network.
- region String
- security
Service List<String>Ids - set of string → The list of security service IDs associated with the share network.
- security
Service StringId
- cidr string
- string → The share network CIDR.
- description string
- id string
- string → The UUID of the share network.
- name string
- neutron
Net stringId - neutron
Subnet stringId - project
Id string - string → The owner of the share network.
- region string
- security
Service string[]Ids - set of string → The list of security service IDs associated with the share network.
- security
Service 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
- neutron
Net StringId - neutron
Subnet StringId - project
Id String - string → The owner of the share network.
- region String
- security
Service List<String>Ids - set of string → The list of security service IDs associated with the share network.
- security
Service StringId
Package Details
- Repository
- vkcs vk-cs/terraform-provider-vkcs
- License
- Notes
- This Pulumi package is based on the
vkcs
Terraform Provider.