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:
- FsName string
- The name of file system.
- NsId string
- The id of namespace.
- OutputFile string
- File name where to save data source results.
- TosBucket string
- The name of tos bucket.
- FsName string
- The name of file system.
- NsId string
- The id of namespace.
- OutputFile string
- File name where to save data source results.
- TosBucket string
- The name of tos bucket.
- fsName String
- The name of file system.
- nsId String
- The id of namespace.
- outputFile String
- File name where to save data source results.
- tosBucket String
- The name of tos bucket.
- fsName string
- The name of file system.
- nsId string
- The id of namespace.
- outputFile string
- File name where to save data source results.
- tosBucket 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.
- fsName String
- The name of file system.
- nsId String
- The id of namespace.
- outputFile String
- File name where to save data source results.
- tosBucket String
- The name of tos bucket.
Namespaces Result
The following output properties are available:
- FsName string
- Id string
- The provider-assigned unique ID for this managed resource.
- Namespaces
List<NamespacesNamespace> 
- The collection of query.
- TotalCount int
- The total count of query.
- NsId string
- OutputFile string
- TosBucket string
- The name of the tos bucket.
- FsName string
- Id string
- The provider-assigned unique ID for this managed resource.
- Namespaces
[]NamespacesNamespace 
- The collection of query.
- TotalCount int
- The total count of query.
- NsId string
- OutputFile string
- TosBucket string
- The name of the tos bucket.
- fsName String
- id String
- The provider-assigned unique ID for this managed resource.
- namespaces
List<NamespacesNamespace> 
- The collection of query.
- totalCount Integer
- The total count of query.
- nsId String
- outputFile String
- tosBucket String
- The name of the tos bucket.
- fsName string
- id string
- The provider-assigned unique ID for this managed resource.
- namespaces
NamespacesNamespace[] 
- The collection of query.
- totalCount number
- The total count of query.
- nsId string
- outputFile string
- tosBucket string
- The name of the tos bucket.
- fs_name str
- id str
- The provider-assigned unique ID for this managed resource.
- namespaces
Sequence[NamespacesNamespace] 
- 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.
- fsName String
- id String
- The provider-assigned unique ID for this managed resource.
- namespaces List<Property Map>
- The collection of query.
- totalCount Number
- The total count of query.
- nsId String
- outputFile String
- tosBucket String
- The name of the tos bucket.
Supporting Types
NamespacesNamespace 
- CreatedTime string
- The creation time of the namespace.
- Id string
- The ID of the namespace.
- IsMy boolBucket 
- Whether the tos bucket is your own bucket.
- ReadOnly bool
- Whether the namespace is read-only.
- ServiceManaged bool
- Whether the namespace is the official service for volcengine.
- Status string
- The status of the namespace.
- TosBucket string
- The name of tos bucket.
- TosPrefix string
- The tos prefix.
- CreatedTime string
- The creation time of the namespace.
- Id string
- The ID of the namespace.
- IsMy boolBucket 
- Whether the tos bucket is your own bucket.
- ReadOnly bool
- Whether the namespace is read-only.
- ServiceManaged bool
- Whether the namespace is the official service for volcengine.
- Status string
- The status of the namespace.
- TosBucket string
- The name of tos bucket.
- TosPrefix string
- The tos prefix.
- createdTime String
- The creation time of the namespace.
- id String
- The ID of the namespace.
- isMy BooleanBucket 
- Whether the tos bucket is your own bucket.
- readOnly Boolean
- Whether the namespace is read-only.
- serviceManaged Boolean
- Whether the namespace is the official service for volcengine.
- status String
- The status of the namespace.
- tosBucket String
- The name of tos bucket.
- tosPrefix String
- The tos prefix.
- createdTime string
- The creation time of the namespace.
- id string
- The ID of the namespace.
- isMy booleanBucket 
- Whether the tos bucket is your own bucket.
- readOnly boolean
- Whether the namespace is read-only.
- serviceManaged boolean
- Whether the namespace is the official service for volcengine.
- status string
- The status of the namespace.
- tosBucket string
- The name of tos bucket.
- tosPrefix 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.
- createdTime String
- The creation time of the namespace.
- id String
- The ID of the namespace.
- isMy BooleanBucket 
- Whether the tos bucket is your own bucket.
- readOnly Boolean
- Whether the namespace is read-only.
- serviceManaged Boolean
- Whether the namespace is the official service for volcengine.
- status String
- The status of the namespace.
- tosBucket String
- The name of tos bucket.
- tosPrefix 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.