Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
Use this data source to query detailed information of cloudfs namespaces
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const default = volcengine.cloudfs.getNamespaces({
fsName: "tf-test-fs",
nsId: "1801439850948****",
});
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.cloudfs.get_namespaces(fs_name="tf-test-fs",
ns_id="1801439850948****")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cloudfs"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudfs.GetNamespaces(ctx, &cloudfs.GetNamespacesArgs{
FsName: "tf-test-fs",
NsId: pulumi.StringRef("1801439850948****"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var @default = Volcengine.Cloudfs.GetNamespaces.Invoke(new()
{
FsName = "tf-test-fs",
NsId = "1801439850948****",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.cloudfs.CloudfsFunctions;
import com.pulumi.volcengine.cloudfs.inputs.GetNamespacesArgs;
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 default = CloudfsFunctions.getNamespaces(GetNamespacesArgs.builder()
.fsName("tf-test-fs")
.nsId("1801439850948****")
.build());
}
}
variables:
default:
fn::invoke:
Function: volcengine:cloudfs:getNamespaces
Arguments:
fsName: tf-test-fs
nsId: 1801439850948****
Using getNamespaces
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 getNamespaces(args: GetNamespacesArgs, opts?: InvokeOptions): Promise<GetNamespacesResult>
function getNamespacesOutput(args: GetNamespacesOutputArgs, opts?: InvokeOptions): Output<GetNamespacesResult>def get_namespaces(fs_name: Optional[str] = None,
ns_id: Optional[str] = None,
output_file: Optional[str] = None,
tos_bucket: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNamespacesResult
def get_namespaces_output(fs_name: Optional[pulumi.Input[str]] = None,
ns_id: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
tos_bucket: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNamespacesResult]func GetNamespaces(ctx *Context, args *GetNamespacesArgs, opts ...InvokeOption) (*GetNamespacesResult, error)
func GetNamespacesOutput(ctx *Context, args *GetNamespacesOutputArgs, opts ...InvokeOption) GetNamespacesResultOutput> Note: This function is named GetNamespaces in the Go SDK.
public static class GetNamespaces
{
public static Task<GetNamespacesResult> InvokeAsync(GetNamespacesArgs args, InvokeOptions? opts = null)
public static Output<GetNamespacesResult> Invoke(GetNamespacesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNamespacesResult> getNamespaces(GetNamespacesArgs args, InvokeOptions options)
public static Output<GetNamespacesResult> getNamespaces(GetNamespacesArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:cloudfs/getNamespaces:getNamespaces
arguments:
# arguments dictionaryThe following arguments are supported:
- Fs
Name string - The name of file system.
- Ns
Id string - The id of namespace.
- Output
File string - File name where to save data source results.
- Tos
Bucket string - The name of tos bucket.
- Fs
Name string - The name of file system.
- Ns
Id string - The id of namespace.
- Output
File string - File name where to save data source results.
- Tos
Bucket string - The name of tos bucket.
- fs
Name String - The name of file system.
- ns
Id String - The id of namespace.
- output
File String - File name where to save data source results.
- tos
Bucket String - The name of tos bucket.
- fs
Name string - The name of file system.
- ns
Id string - The id of namespace.
- output
File string - File name where to save data source results.
- tos
Bucket string - The name of tos bucket.
- fs_
name str - The name of file system.
- ns_
id str - The id of namespace.
- output_
file str - File name where to save data source results.
- tos_
bucket str - The name of tos bucket.
- fs
Name String - The name of file system.
- ns
Id String - The id of namespace.
- output
File String - File name where to save data source results.
- tos
Bucket String - The name of tos bucket.
getNamespaces Result
The following output properties are available:
- Fs
Name string - Id string
- The provider-assigned unique ID for this managed resource.
- Namespaces
List<Get
Namespaces Namespace> - The collection of query.
- Total
Count int - The total count of query.
- Ns
Id string - Output
File string - Tos
Bucket string - The name of the tos bucket.
- Fs
Name string - Id string
- The provider-assigned unique ID for this managed resource.
- Namespaces
[]Get
Namespaces Namespace - The collection of query.
- Total
Count int - The total count of query.
- Ns
Id string - Output
File string - Tos
Bucket string - The name of the tos bucket.
- fs
Name String - id String
- The provider-assigned unique ID for this managed resource.
- namespaces
List<Get
Namespaces Namespace> - The collection of query.
- total
Count Integer - The total count of query.
- ns
Id String - output
File String - tos
Bucket String - The name of the tos bucket.
- fs
Name string - id string
- The provider-assigned unique ID for this managed resource.
- namespaces
Get
Namespaces Namespace[] - The collection of query.
- total
Count number - The total count of query.
- ns
Id string - output
File string - tos
Bucket string - The name of the tos bucket.
- fs_
name str - id str
- The provider-assigned unique ID for this managed resource.
- namespaces
Sequence[Get
Namespaces Namespace] - The collection of query.
- total_
count int - The total count of query.
- ns_
id str - output_
file str - tos_
bucket str - The name of the tos bucket.
- fs
Name String - id String
- The provider-assigned unique ID for this managed resource.
- namespaces List<Property Map>
- The collection of query.
- total
Count Number - The total count of query.
- ns
Id String - output
File String - tos
Bucket String - The name of the tos bucket.
Supporting Types
GetNamespacesNamespace
- Created
Time string - The creation time of the namespace.
- Id string
- The ID of the namespace.
- Is
My boolBucket - Whether the tos bucket is your own bucket.
- Read
Only bool - Whether the namespace is read-only.
- Service
Managed bool - Whether the namespace is the official service for volcengine.
- Status string
- The status of the namespace.
- Tos
Bucket string - The name of tos bucket.
- Tos
Prefix string - The tos prefix.
- Created
Time string - The creation time of the namespace.
- Id string
- The ID of the namespace.
- Is
My boolBucket - Whether the tos bucket is your own bucket.
- Read
Only bool - Whether the namespace is read-only.
- Service
Managed bool - Whether the namespace is the official service for volcengine.
- Status string
- The status of the namespace.
- Tos
Bucket string - The name of tos bucket.
- Tos
Prefix string - The tos prefix.
- created
Time String - The creation time of the namespace.
- id String
- The ID of the namespace.
- is
My BooleanBucket - Whether the tos bucket is your own bucket.
- read
Only Boolean - Whether the namespace is read-only.
- service
Managed Boolean - Whether the namespace is the official service for volcengine.
- status String
- The status of the namespace.
- tos
Bucket String - The name of tos bucket.
- tos
Prefix String - The tos prefix.
- created
Time string - The creation time of the namespace.
- id string
- The ID of the namespace.
- is
My booleanBucket - Whether the tos bucket is your own bucket.
- read
Only boolean - Whether the namespace is read-only.
- service
Managed boolean - Whether the namespace is the official service for volcengine.
- status string
- The status of the namespace.
- tos
Bucket string - The name of tos bucket.
- tos
Prefix string - The tos prefix.
- created_
time str - The creation time of the namespace.
- id str
- The ID of the namespace.
- is_
my_ boolbucket - Whether the tos bucket is your own bucket.
- read_
only bool - Whether the namespace is read-only.
- service_
managed bool - Whether the namespace is the official service for volcengine.
- status str
- The status of the namespace.
- tos_
bucket str - The name of tos bucket.
- tos_
prefix str - The tos prefix.
- created
Time String - The creation time of the namespace.
- id String
- The ID of the namespace.
- is
My BooleanBucket - Whether the tos bucket is your own bucket.
- read
Only Boolean - Whether the namespace is read-only.
- service
Managed Boolean - Whether the namespace is the official service for volcengine.
- status String
- The status of the namespace.
- tos
Bucket String - The name of tos bucket.
- tos
Prefix String - The tos prefix.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
