flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
flexibleengine.getObsBuckets
Start a Neo task
Explain and create a flexibleengine.getObsBuckets resource
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
Use this data source to get all OBS buckets.
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const buckets = flexibleengine.getObsBuckets({
bucket: "your-bucket-name",
});
import pulumi
import pulumi_flexibleengine as flexibleengine
buckets = flexibleengine.get_obs_buckets(bucket="your-bucket-name")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := flexibleengine.GetObsBuckets(ctx, &flexibleengine.GetObsBucketsArgs{
Bucket: pulumi.StringRef("your-bucket-name"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;
return await Deployment.RunAsync(() =>
{
var buckets = Flexibleengine.GetObsBuckets.Invoke(new()
{
Bucket = "your-bucket-name",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.FlexibleengineFunctions;
import com.pulumi.flexibleengine.inputs.GetObsBucketsArgs;
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 buckets = FlexibleengineFunctions.getObsBuckets(GetObsBucketsArgs.builder()
.bucket("your-bucket-name")
.build());
}
}
variables:
buckets:
fn::invoke:
function: flexibleengine:getObsBuckets
arguments:
bucket: your-bucket-name
Using getObsBuckets
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 getObsBuckets(args: GetObsBucketsArgs, opts?: InvokeOptions): Promise<GetObsBucketsResult>
function getObsBucketsOutput(args: GetObsBucketsOutputArgs, opts?: InvokeOptions): Output<GetObsBucketsResult>def get_obs_buckets(bucket: Optional[str] = None,
enterprise_project_id: Optional[str] = None,
id: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetObsBucketsResult
def get_obs_buckets_output(bucket: Optional[pulumi.Input[str]] = None,
enterprise_project_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetObsBucketsResult]func GetObsBuckets(ctx *Context, args *GetObsBucketsArgs, opts ...InvokeOption) (*GetObsBucketsResult, error)
func GetObsBucketsOutput(ctx *Context, args *GetObsBucketsOutputArgs, opts ...InvokeOption) GetObsBucketsResultOutput> Note: This function is named GetObsBuckets in the Go SDK.
public static class GetObsBuckets
{
public static Task<GetObsBucketsResult> InvokeAsync(GetObsBucketsArgs args, InvokeOptions? opts = null)
public static Output<GetObsBucketsResult> Invoke(GetObsBucketsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetObsBucketsResult> getObsBuckets(GetObsBucketsArgs args, InvokeOptions options)
public static Output<GetObsBucketsResult> getObsBuckets(GetObsBucketsArgs args, InvokeOptions options)
fn::invoke:
function: flexibleengine:index/getObsBuckets:getObsBuckets
arguments:
# arguments dictionaryThe following arguments are supported:
- Bucket string
- The name of the OBS bucket.
- Enterprise
Project stringId - The enterprise project id of the OBS bucket.
- Id string
- The ID of the list.
- Region string
- The region in which to obtain the OBS bucket. If omitted, the provider-level region will be used.
- Bucket string
- The name of the OBS bucket.
- Enterprise
Project stringId - The enterprise project id of the OBS bucket.
- Id string
- The ID of the list.
- Region string
- The region in which to obtain the OBS bucket. If omitted, the provider-level region will be used.
- bucket String
- The name of the OBS bucket.
- enterprise
Project StringId - The enterprise project id of the OBS bucket.
- id String
- The ID of the list.
- region String
- The region in which to obtain the OBS bucket. If omitted, the provider-level region will be used.
- bucket string
- The name of the OBS bucket.
- enterprise
Project stringId - The enterprise project id of the OBS bucket.
- id string
- The ID of the list.
- region string
- The region in which to obtain the OBS bucket. If omitted, the provider-level region will be used.
- bucket str
- The name of the OBS bucket.
- enterprise_
project_ strid - The enterprise project id of the OBS bucket.
- id str
- The ID of the list.
- region str
- The region in which to obtain the OBS bucket. If omitted, the provider-level region will be used.
- bucket String
- The name of the OBS bucket.
- enterprise
Project StringId - The enterprise project id of the OBS bucket.
- id String
- The ID of the list.
- region String
- The region in which to obtain the OBS bucket. If omitted, the provider-level region will be used.
getObsBuckets Result
The following output properties are available:
- Buckets
List<Get
Obs Buckets Bucket> - A list of OBS buckets. The buckets object structure is documented below.
- Id string
- The ID of the list.
- Bucket string
- The name of the OBS bucket.
- Enterprise
Project stringId - The enterprise project id of the OBS bucket.
- Region string
- The region where the OBS bucket belongs.
- Buckets
[]Get
Obs Buckets Bucket - A list of OBS buckets. The buckets object structure is documented below.
- Id string
- The ID of the list.
- Bucket string
- The name of the OBS bucket.
- Enterprise
Project stringId - The enterprise project id of the OBS bucket.
- Region string
- The region where the OBS bucket belongs.
- buckets
List<Get
Obs Buckets Bucket> - A list of OBS buckets. The buckets object structure is documented below.
- id String
- The ID of the list.
- bucket String
- The name of the OBS bucket.
- enterprise
Project StringId - The enterprise project id of the OBS bucket.
- region String
- The region where the OBS bucket belongs.
- buckets
Get
Obs Buckets Bucket[] - A list of OBS buckets. The buckets object structure is documented below.
- id string
- The ID of the list.
- bucket string
- The name of the OBS bucket.
- enterprise
Project stringId - The enterprise project id of the OBS bucket.
- region string
- The region where the OBS bucket belongs.
- buckets
Sequence[Get
Obs Buckets Bucket] - A list of OBS buckets. The buckets object structure is documented below.
- id str
- The ID of the list.
- bucket str
- The name of the OBS bucket.
- enterprise_
project_ strid - The enterprise project id of the OBS bucket.
- region str
- The region where the OBS bucket belongs.
- buckets List<Property Map>
- A list of OBS buckets. The buckets object structure is documented below.
- id String
- The ID of the list.
- bucket String
- The name of the OBS bucket.
- enterprise
Project StringId - The enterprise project id of the OBS bucket.
- region String
- The region where the OBS bucket belongs.
Supporting Types
GetObsBucketsBucket
- Bucket string
- The name of the OBS bucket.
- Created
At string - The date when the OBS bucket was created.
- Enterprise
Project stringId - The enterprise project id of the OBS bucket.
- Region string
- The region in which to obtain the OBS bucket. If omitted, the provider-level region will be used.
- Storage
Class string - The storage class of the OBS bucket.
- Bucket string
- The name of the OBS bucket.
- Created
At string - The date when the OBS bucket was created.
- Enterprise
Project stringId - The enterprise project id of the OBS bucket.
- Region string
- The region in which to obtain the OBS bucket. If omitted, the provider-level region will be used.
- Storage
Class string - The storage class of the OBS bucket.
- bucket String
- The name of the OBS bucket.
- created
At String - The date when the OBS bucket was created.
- enterprise
Project StringId - The enterprise project id of the OBS bucket.
- region String
- The region in which to obtain the OBS bucket. If omitted, the provider-level region will be used.
- storage
Class String - The storage class of the OBS bucket.
- bucket string
- The name of the OBS bucket.
- created
At string - The date when the OBS bucket was created.
- enterprise
Project stringId - The enterprise project id of the OBS bucket.
- region string
- The region in which to obtain the OBS bucket. If omitted, the provider-level region will be used.
- storage
Class string - The storage class of the OBS bucket.
- bucket str
- The name of the OBS bucket.
- created_
at str - The date when the OBS bucket was created.
- enterprise_
project_ strid - The enterprise project id of the OBS bucket.
- region str
- The region in which to obtain the OBS bucket. If omitted, the provider-level region will be used.
- storage_
class str - The storage class of the OBS bucket.
- bucket String
- The name of the OBS bucket.
- created
At String - The date when the OBS bucket was created.
- enterprise
Project StringId - The enterprise project id of the OBS bucket.
- region String
- The region in which to obtain the OBS bucket. If omitted, the provider-level region will be used.
- storage
Class String - The storage class of the OBS bucket.
Package Details
- Repository
- flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
- License
- Notes
- This Pulumi package is based on the
flexibleengineTerraform Provider.
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
