Viewing docs for Chronosphere v0.9.16
published on Friday, Jun 5, 2026 by Chronosphere
published on Friday, Jun 5, 2026 by Chronosphere
Viewing docs for Chronosphere v0.9.16
published on Friday, Jun 5, 2026 by Chronosphere
published on Friday, Jun 5, 2026 by Chronosphere
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Pulumi = Pulumi.Pulumi;
return await Deployment.RunAsync(() =>
{
var @default = Pulumi.BucketDataSource.Invoke(new()
{
Slug = "default",
});
var byName = Pulumi.BucketDataSource.Invoke(new()
{
Name = "Default",
});
});
package main
import (
"github.com/chronosphereio/pulumi-chronosphere/sdk/go/chronosphere"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := chronosphere.BucketDataSource(ctx, &chronosphere.BucketDataSourceArgs{
Slug: pulumi.StringRef("default"),
}, nil)
if err != nil {
return err
}
_, err = chronosphere.BucketDataSource(ctx, &chronosphere.BucketDataSourceArgs{
Name: pulumi.StringRef("Default"),
}, nil)
if err != nil {
return err
}
return nil
})
}
Example coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.chronosphere.ChronosphereFunctions;
import com.pulumi.chronosphere.inputs.BucketDataSourceArgs;
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 = ChronosphereFunctions.BucketDataSource(BucketDataSourceArgs.builder()
.slug("default")
.build());
final var byName = ChronosphereFunctions.BucketDataSource(BucketDataSourceArgs.builder()
.name("Default")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as chronosphere from "@pulumi/chronosphere";
const default = chronosphere.BucketDataSource({
slug: "default",
});
const byName = chronosphere.BucketDataSource({
name: "Default",
});
import pulumi
import pulumi_chronosphere as chronosphere
default = chronosphere.bucket_data_source(slug="default")
by_name = chronosphere.bucket_data_source(name="Default")
variables:
default:
fn::invoke:
Function: chronosphere:BucketDataSource
Arguments:
slug: default
byName:
fn::invoke:
Function: chronosphere:BucketDataSource
Arguments:
name: Default
Using BucketDataSource
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 bucketDataSource(args: BucketDataSourceArgs, opts?: InvokeOptions): Promise<BucketDataSourceResult>
function bucketDataSourceOutput(args: BucketDataSourceOutputArgs, opts?: InvokeOptions): Output<BucketDataSourceResult>def bucket_data_source(labels: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
slug: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> BucketDataSourceResult
def bucket_data_source_output(labels: pulumi.Input[Optional[Mapping[str, pulumi.Input[str]]]] = None,
name: pulumi.Input[Optional[str]] = None,
slug: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[BucketDataSourceResult]func BucketDataSource(ctx *Context, args *BucketDataSourceArgs, opts ...InvokeOption) (*BucketDataSourceResult, error)
func BucketDataSourceOutput(ctx *Context, args *BucketDataSourceOutputArgs, opts ...InvokeOption) BucketDataSourceResultOutputpublic static class BucketDataSource
{
public static Task<BucketDataSourceResult> InvokeAsync(BucketDataSourceArgs args, InvokeOptions? opts = null)
public static Output<BucketDataSourceResult> Invoke(BucketDataSourceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<BucketDataSourceResult> bucketDataSource(BucketDataSourceArgs args, InvokeOptions options)
public static Output<BucketDataSourceResult> bucketDataSource(BucketDataSourceArgs args, InvokeOptions options)
fn::invoke:
function: chronosphere:BucketDataSource
arguments:
# arguments dictionarydata "chronosphere_bucketdatasource" "name" {
# arguments
}The following arguments are supported:
BucketDataSource Result
The following output properties are available:
- Description string
- Read-only: free-form description of the bucket.
- Id string
- The provider-assigned unique ID for this managed resource.
- Labels Dictionary<string, string>
- Read-only: key/value labels attached to the bucket.
- Name string
- Name of the bucket to look up. Exactly one of
slugornamemust be set. - Slug string
- Slug of the bucket to look up. Exactly one of
slugornamemust be set.
- Description string
- Read-only: free-form description of the bucket.
- Id string
- The provider-assigned unique ID for this managed resource.
- Labels map[string]string
- Read-only: key/value labels attached to the bucket.
- Name string
- Name of the bucket to look up. Exactly one of
slugornamemust be set. - Slug string
- Slug of the bucket to look up. Exactly one of
slugornamemust be set.
- description string
- Read-only: free-form description of the bucket.
- id string
- The provider-assigned unique ID for this managed resource.
- labels map(string)
- Read-only: key/value labels attached to the bucket.
- name string
- Name of the bucket to look up. Exactly one of
slugornamemust be set. - slug string
- Slug of the bucket to look up. Exactly one of
slugornamemust be set.
- description String
- Read-only: free-form description of the bucket.
- id String
- The provider-assigned unique ID for this managed resource.
- labels Map<String,String>
- Read-only: key/value labels attached to the bucket.
- name String
- Name of the bucket to look up. Exactly one of
slugornamemust be set. - slug String
- Slug of the bucket to look up. Exactly one of
slugornamemust be set.
- description string
- Read-only: free-form description of the bucket.
- id string
- The provider-assigned unique ID for this managed resource.
- labels {[key: string]: string}
- Read-only: key/value labels attached to the bucket.
- name string
- Name of the bucket to look up. Exactly one of
slugornamemust be set. - slug string
- Slug of the bucket to look up. Exactly one of
slugornamemust be set.
- description str
- Read-only: free-form description of the bucket.
- id str
- The provider-assigned unique ID for this managed resource.
- labels Mapping[str, str]
- Read-only: key/value labels attached to the bucket.
- name str
- Name of the bucket to look up. Exactly one of
slugornamemust be set. - slug str
- Slug of the bucket to look up. Exactly one of
slugornamemust be set.
- description String
- Read-only: free-form description of the bucket.
- id String
- The provider-assigned unique ID for this managed resource.
- labels Map<String>
- Read-only: key/value labels attached to the bucket.
- name String
- Name of the bucket to look up. Exactly one of
slugornamemust be set. - slug String
- Slug of the bucket to look up. Exactly one of
slugornamemust be set.
Package Details
- Repository
- chronosphere chronosphereio/pulumi-chronosphere
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
chronosphereTerraform Provider.
Viewing docs for Chronosphere v0.9.16
published on Friday, Jun 5, 2026 by Chronosphere
published on Friday, Jun 5, 2026 by Chronosphere