1. Packages
  2. Volcengine
  3. API Docs
  4. cloudfs
  5. Namespaces
Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine

volcengine.cloudfs.Namespaces

Explore with Pulumi AI

Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 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.Namespaces({
    fsName: "tf-test-fs",
    nsId: "1801439850948****",
});
Copy
import pulumi
import pulumi_volcengine as volcengine

default = volcengine.cloudfs.namespaces(fs_name="tf-test-fs",
    ns_id="1801439850948****")
Copy
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
	})
}
Copy
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****",
    });

});
Copy
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());

    }
}
Copy
variables:
  default:
    fn::invoke:
      Function: volcengine:cloudfs:Namespaces
      Arguments:
        fsName: tf-test-fs
        nsId: 1801439850948****
Copy

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>
Copy
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]
Copy
func Namespaces(ctx *Context, args *NamespacesArgs, opts ...InvokeOption) (*NamespacesResult, error)
func NamespacesOutput(ctx *Context, args *NamespacesOutputArgs, opts ...InvokeOption) NamespacesResultOutput
Copy
public static class Namespaces 
{
    public static Task<NamespacesResult> InvokeAsync(NamespacesArgs args, InvokeOptions? opts = null)
    public static Output<NamespacesResult> Invoke(NamespacesInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<NamespacesResult> namespaces(NamespacesArgs args, InvokeOptions options)
public static Output<NamespacesResult> namespaces(NamespacesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: volcengine:cloudfs:Namespaces
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

FsName This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string
The creation time of the namespace.
Id This property is required. string
The ID of the namespace.
IsMyBucket This property is required. bool
Whether the tos bucket is your own bucket.
ReadOnly This property is required. bool
Whether the namespace is read-only.
ServiceManaged This property is required. bool
Whether the namespace is the official service for volcengine.
Status This property is required. string
The status of the namespace.
TosBucket This property is required. string
The name of tos bucket.
TosPrefix This property is required. string
The tos prefix.
CreatedTime This property is required. string
The creation time of the namespace.
Id This property is required. string
The ID of the namespace.
IsMyBucket This property is required. bool
Whether the tos bucket is your own bucket.
ReadOnly This property is required. bool
Whether the namespace is read-only.
ServiceManaged This property is required. bool
Whether the namespace is the official service for volcengine.
Status This property is required. string
The status of the namespace.
TosBucket This property is required. string
The name of tos bucket.
TosPrefix This property is required. string
The tos prefix.
createdTime This property is required. String
The creation time of the namespace.
id This property is required. String
The ID of the namespace.
isMyBucket This property is required. Boolean
Whether the tos bucket is your own bucket.
readOnly This property is required. Boolean
Whether the namespace is read-only.
serviceManaged This property is required. Boolean
Whether the namespace is the official service for volcengine.
status This property is required. String
The status of the namespace.
tosBucket This property is required. String
The name of tos bucket.
tosPrefix This property is required. String
The tos prefix.
createdTime This property is required. string
The creation time of the namespace.
id This property is required. string
The ID of the namespace.
isMyBucket This property is required. boolean
Whether the tos bucket is your own bucket.
readOnly This property is required. boolean
Whether the namespace is read-only.
serviceManaged This property is required. boolean
Whether the namespace is the official service for volcengine.
status This property is required. string
The status of the namespace.
tosBucket This property is required. string
The name of tos bucket.
tosPrefix This property is required. string
The tos prefix.
created_time This property is required. str
The creation time of the namespace.
id This property is required. str
The ID of the namespace.
is_my_bucket This property is required. bool
Whether the tos bucket is your own bucket.
read_only This property is required. bool
Whether the namespace is read-only.
service_managed This property is required. bool
Whether the namespace is the official service for volcengine.
status This property is required. str
The status of the namespace.
tos_bucket This property is required. str
The name of tos bucket.
tos_prefix This property is required. str
The tos prefix.
createdTime This property is required. String
The creation time of the namespace.
id This property is required. String
The ID of the namespace.
isMyBucket This property is required. Boolean
Whether the tos bucket is your own bucket.
readOnly This property is required. Boolean
Whether the namespace is read-only.
serviceManaged This property is required. Boolean
Whether the namespace is the official service for volcengine.
status This property is required. String
The status of the namespace.
tosBucket This property is required. String
The name of tos bucket.
tosPrefix This property is required. String
The tos prefix.

Package Details

Repository
volcengine volcengine/pulumi-volcengine
License
Apache-2.0
Notes
This Pulumi package is based on the volcengine Terraform Provider.
Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine