Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine
volcengine.cloudfs.Namespaces
Explore with Pulumi AI
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.Namespaces({
    fsName: "tf-test-fs",
    nsId: "1801439850948****",
});
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.cloudfs.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.Namespaces(ctx, &cloudfs.NamespacesArgs{
			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.Namespaces.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.NamespacesArgs;
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.Namespaces(NamespacesArgs.builder()
            .fsName("tf-test-fs")
            .nsId("1801439850948****")
            .build());
    }
}
variables:
  default:
    fn::invoke:
      Function: volcengine:cloudfs:Namespaces
      Arguments:
        fsName: tf-test-fs
        nsId: 1801439850948****
Using Namespaces
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 namespaces(args: NamespacesArgs, opts?: InvokeOptions): Promise<NamespacesResult>
function namespacesOutput(args: NamespacesOutputArgs, opts?: InvokeOptions): Output<NamespacesResult>def 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) -> NamespacesResult
def 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[NamespacesResult]func Namespaces(ctx *Context, args *NamespacesArgs, opts ...InvokeOption) (*NamespacesResult, error)
func NamespacesOutput(ctx *Context, args *NamespacesOutputArgs, opts ...InvokeOption) NamespacesResultOutputpublic static class Namespaces 
{
    public static Task<NamespacesResult> InvokeAsync(NamespacesArgs args, InvokeOptions? opts = null)
    public static Output<NamespacesResult> Invoke(NamespacesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<NamespacesResult> namespaces(NamespacesArgs args, InvokeOptions options)
public static Output<NamespacesResult> namespaces(NamespacesArgs args, InvokeOptions options)
fn::invoke:
  function: volcengine:cloudfs:Namespaces
  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.
 
Namespaces Result
The following output properties are available:
- Fs
Name string - Id string
 - The provider-assigned unique ID for this managed resource.
 - Namespaces
List<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
[]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<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
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[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
NamespacesNamespace 
- 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.