InfluxDB v1.2.2 published on Thursday, Sep 12, 2024 by komminarlabs
influxdb.getBuckets
Explore with Pulumi AI
Lists buckets. InfluxDB retrieves buckets owned by the organization associated with the authorization (API token).
Using getBuckets
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 getBuckets(opts?: InvokeOptions): Promise<GetBucketsResult>
function getBucketsOutput(opts?: InvokeOptions): Output<GetBucketsResult>
def get_buckets(opts: Optional[InvokeOptions] = None) -> GetBucketsResult
def get_buckets_output(opts: Optional[InvokeOptions] = None) -> Output[GetBucketsResult]
func GetBuckets(ctx *Context, opts ...InvokeOption) (*GetBucketsResult, error)
func GetBucketsOutput(ctx *Context, opts ...InvokeOption) GetBucketsResultOutput
> Note: This function is named GetBuckets
in the Go SDK.
public static class GetBuckets
{
public static Task<GetBucketsResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetBucketsResult> Invoke(InvokeOptions? opts = null)
}
public static CompletableFuture<GetBucketsResult> getBuckets(InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: influxdb:index/getBuckets:getBuckets
arguments:
# arguments dictionary
getBuckets Result
The following output properties are available:
- Buckets
List<Komminar
Labs. Influx DB. Outputs. Get Buckets Bucket> - Id string
- The provider-assigned unique ID for this managed resource.
- Buckets
[]Get
Buckets Bucket - Id string
- The provider-assigned unique ID for this managed resource.
- buckets
List<Get
Buckets Bucket> - id String
- The provider-assigned unique ID for this managed resource.
- buckets
Get
Buckets Bucket[] - id string
- The provider-assigned unique ID for this managed resource.
- buckets
Sequence[Get
Buckets Bucket] - id str
- The provider-assigned unique ID for this managed resource.
- buckets List<Property Map>
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
GetBucketsBucket
- Created
At string - Bucket creation date.
- Description string
- A description of the bucket.
- Id string
- A Bucket ID.
- Name string
- A Bucket name.
- Org
Id string - An organization ID.
- Retention
Period int - The duration in seconds for how long data will be kept in the database.
0
represents infinite retention. - Type string
- The Bucket type.
- Updated
At string - Last bucket update date.
- Created
At string - Bucket creation date.
- Description string
- A description of the bucket.
- Id string
- A Bucket ID.
- Name string
- A Bucket name.
- Org
Id string - An organization ID.
- Retention
Period int - The duration in seconds for how long data will be kept in the database.
0
represents infinite retention. - Type string
- The Bucket type.
- Updated
At string - Last bucket update date.
- created
At String - Bucket creation date.
- description String
- A description of the bucket.
- id String
- A Bucket ID.
- name String
- A Bucket name.
- org
Id String - An organization ID.
- retention
Period Integer - The duration in seconds for how long data will be kept in the database.
0
represents infinite retention. - type String
- The Bucket type.
- updated
At String - Last bucket update date.
- created
At string - Bucket creation date.
- description string
- A description of the bucket.
- id string
- A Bucket ID.
- name string
- A Bucket name.
- org
Id string - An organization ID.
- retention
Period number - The duration in seconds for how long data will be kept in the database.
0
represents infinite retention. - type string
- The Bucket type.
- updated
At string - Last bucket update date.
- created_
at str - Bucket creation date.
- description str
- A description of the bucket.
- id str
- A Bucket ID.
- name str
- A Bucket name.
- org_
id str - An organization ID.
- retention_
period int - The duration in seconds for how long data will be kept in the database.
0
represents infinite retention. - type str
- The Bucket type.
- updated_
at str - Last bucket update date.
- created
At String - Bucket creation date.
- description String
- A description of the bucket.
- id String
- A Bucket ID.
- name String
- A Bucket name.
- org
Id String - An organization ID.
- retention
Period Number - The duration in seconds for how long data will be kept in the database.
0
represents infinite retention. - type String
- The Bucket type.
- updated
At String - Last bucket update date.
Package Details
- Repository
- influxdb komminarlabs/pulumi-influxdb
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
influxdb
Terraform Provider.