volcengine.tos.Buckets
Explore with Pulumi AI
Use this data source to query detailed information of tos buckets
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var @default = Volcengine.Tos.Buckets.Invoke(new()
{
NameRegex = "test",
});
});
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/tos"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tos.Buckets(ctx, &tos.BucketsArgs{
NameRegex: pulumi.StringRef("test"),
}, nil)
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.tos.TosFunctions;
import com.pulumi.volcengine.tos.inputs.BucketsArgs;
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 = TosFunctions.Buckets(BucketsArgs.builder()
.nameRegex("test")
.build());
}
}
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.tos.buckets(name_regex="test")
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const default = volcengine.tos.Buckets({
nameRegex: "test",
});
variables:
default:
fn::invoke:
Function: volcengine:tos:Buckets
Arguments:
nameRegex: test
Using Buckets
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 buckets(args: BucketsArgs, opts?: InvokeOptions): Promise<BucketsResult>
function bucketsOutput(args: BucketsOutputArgs, opts?: InvokeOptions): Output<BucketsResult>
def buckets(bucket_name: Optional[str] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> BucketsResult
def buckets_output(bucket_name: Optional[pulumi.Input[str]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[BucketsResult]
func Buckets(ctx *Context, args *BucketsArgs, opts ...InvokeOption) (*BucketsResult, error)
func BucketsOutput(ctx *Context, args *BucketsOutputArgs, opts ...InvokeOption) BucketsResultOutput
public static class Buckets
{
public static Task<BucketsResult> InvokeAsync(BucketsArgs args, InvokeOptions? opts = null)
public static Output<BucketsResult> Invoke(BucketsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<BucketsResult> buckets(BucketsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: volcengine:tos:Buckets
arguments:
# arguments dictionary
The following arguments are supported:
- Bucket
Name string The name the TOS bucket.
- Name
Regex string A Name Regex of TOS bucket.
- Output
File string File name where to save data source results.
- Bucket
Name string The name the TOS bucket.
- Name
Regex string A Name Regex of TOS bucket.
- Output
File string File name where to save data source results.
- bucket
Name String The name the TOS bucket.
- name
Regex String A Name Regex of TOS bucket.
- output
File String File name where to save data source results.
- bucket
Name string The name the TOS bucket.
- name
Regex string A Name Regex of TOS bucket.
- output
File string File name where to save data source results.
- bucket_
name str The name the TOS bucket.
- name_
regex str A Name Regex of TOS bucket.
- output_
file str File name where to save data source results.
- bucket
Name String The name the TOS bucket.
- name
Regex String A Name Regex of TOS bucket.
- output
File String File name where to save data source results.
Buckets Result
The following output properties are available:
- Buckets
List<Volcengine.
Buckets Bucket> The collection of TOS bucket query.
- Id string
The provider-assigned unique ID for this managed resource.
- Total
Count int The total count of TOS bucket query.
- Bucket
Name string - Name
Regex string - Output
File string
- Buckets
[]Buckets
Bucket The collection of TOS bucket query.
- Id string
The provider-assigned unique ID for this managed resource.
- Total
Count int The total count of TOS bucket query.
- Bucket
Name string - Name
Regex string - Output
File string
- buckets
List<Buckets
Bucket> The collection of TOS bucket query.
- id String
The provider-assigned unique ID for this managed resource.
- total
Count Integer The total count of TOS bucket query.
- bucket
Name String - name
Regex String - output
File String
- buckets
Buckets
Bucket[] The collection of TOS bucket query.
- id string
The provider-assigned unique ID for this managed resource.
- total
Count number The total count of TOS bucket query.
- bucket
Name string - name
Regex string - output
File string
- buckets
Sequence[Buckets
Bucket] The collection of TOS bucket query.
- id str
The provider-assigned unique ID for this managed resource.
- total_
count int The total count of TOS bucket query.
- bucket_
name str - name_
regex str - output_
file str
- buckets List<Property Map>
The collection of TOS bucket query.
- id String
The provider-assigned unique ID for this managed resource.
- total
Count Number The total count of TOS bucket query.
- bucket
Name String - name
Regex String - output
File String
Supporting Types
BucketsBucket
- Creation
Date string The create date of the TOS bucket.
- Extranet
Endpoint string The extranet endpoint of the TOS bucket.
- Intranet
Endpoint string The intranet endpoint the TOS bucket.
- Is
Truncated bool (Deprecated) The Field is Deprecated. The truncated the TOS bucket.
The Field is Deprecated.
- Location string
The location of the TOS bucket.
- Marker string
(Deprecated) The Field is Deprecated. The marker the TOS bucket.
The Field is Deprecated.
- Max
Keys int (Deprecated) The Field is Deprecated. The max keys the TOS bucket.
The Field is Deprecated.
- Name string
The name the TOS bucket.
- Prefix string
(Deprecated) The Field is Deprecated. The prefix the TOS bucket.
The Field is Deprecated.
- Creation
Date string The create date of the TOS bucket.
- Extranet
Endpoint string The extranet endpoint of the TOS bucket.
- Intranet
Endpoint string The intranet endpoint the TOS bucket.
- Is
Truncated bool (Deprecated) The Field is Deprecated. The truncated the TOS bucket.
The Field is Deprecated.
- Location string
The location of the TOS bucket.
- Marker string
(Deprecated) The Field is Deprecated. The marker the TOS bucket.
The Field is Deprecated.
- Max
Keys int (Deprecated) The Field is Deprecated. The max keys the TOS bucket.
The Field is Deprecated.
- Name string
The name the TOS bucket.
- Prefix string
(Deprecated) The Field is Deprecated. The prefix the TOS bucket.
The Field is Deprecated.
- creation
Date String The create date of the TOS bucket.
- extranet
Endpoint String The extranet endpoint of the TOS bucket.
- intranet
Endpoint String The intranet endpoint the TOS bucket.
- is
Truncated Boolean (Deprecated) The Field is Deprecated. The truncated the TOS bucket.
The Field is Deprecated.
- location String
The location of the TOS bucket.
- marker String
(Deprecated) The Field is Deprecated. The marker the TOS bucket.
The Field is Deprecated.
- max
Keys Integer (Deprecated) The Field is Deprecated. The max keys the TOS bucket.
The Field is Deprecated.
- name String
The name the TOS bucket.
- prefix String
(Deprecated) The Field is Deprecated. The prefix the TOS bucket.
The Field is Deprecated.
- creation
Date string The create date of the TOS bucket.
- extranet
Endpoint string The extranet endpoint of the TOS bucket.
- intranet
Endpoint string The intranet endpoint the TOS bucket.
- is
Truncated boolean (Deprecated) The Field is Deprecated. The truncated the TOS bucket.
The Field is Deprecated.
- location string
The location of the TOS bucket.
- marker string
(Deprecated) The Field is Deprecated. The marker the TOS bucket.
The Field is Deprecated.
- max
Keys number (Deprecated) The Field is Deprecated. The max keys the TOS bucket.
The Field is Deprecated.
- name string
The name the TOS bucket.
- prefix string
(Deprecated) The Field is Deprecated. The prefix the TOS bucket.
The Field is Deprecated.
- creation_
date str The create date of the TOS bucket.
- extranet_
endpoint str The extranet endpoint of the TOS bucket.
- intranet_
endpoint str The intranet endpoint the TOS bucket.
- is_
truncated bool (Deprecated) The Field is Deprecated. The truncated the TOS bucket.
The Field is Deprecated.
- location str
The location of the TOS bucket.
- marker str
(Deprecated) The Field is Deprecated. The marker the TOS bucket.
The Field is Deprecated.
- max_
keys int (Deprecated) The Field is Deprecated. The max keys the TOS bucket.
The Field is Deprecated.
- name str
The name the TOS bucket.
- prefix str
(Deprecated) The Field is Deprecated. The prefix the TOS bucket.
The Field is Deprecated.
- creation
Date String The create date of the TOS bucket.
- extranet
Endpoint String The extranet endpoint of the TOS bucket.
- intranet
Endpoint String The intranet endpoint the TOS bucket.
- is
Truncated Boolean (Deprecated) The Field is Deprecated. The truncated the TOS bucket.
The Field is Deprecated.
- location String
The location of the TOS bucket.
- marker String
(Deprecated) The Field is Deprecated. The marker the TOS bucket.
The Field is Deprecated.
- max
Keys Number (Deprecated) The Field is Deprecated. The max keys the TOS bucket.
The Field is Deprecated.
- name String
The name the TOS bucket.
- prefix String
(Deprecated) The Field is Deprecated. The prefix the TOS bucket.
The Field is Deprecated.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
volcengine
Terraform Provider.