volcengine.bioos.Clusters
Explore with Pulumi AI
Use this data source to query detailed information of bioos clusters
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var @default = Volcengine.Bioos.Clusters.Invoke();
});
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/bioos"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := bioos.Clusters(ctx, nil, 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.bioos.BioosFunctions;
import com.pulumi.volcengine.bioos.inputs.ClustersArgs;
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 = BioosFunctions.Clusters();
}
}
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.bioos.clusters()
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const default = volcengine.bioos.Clusters({});
variables:
default:
fn::invoke:
Function: volcengine:bioos:Clusters
Arguments: {}
Using Clusters
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 clusters(args: ClustersArgs, opts?: InvokeOptions): Promise<ClustersResult>
function clustersOutput(args: ClustersOutputArgs, opts?: InvokeOptions): Output<ClustersResult>
def clusters(ids: Optional[Sequence[str]] = None,
output_file: Optional[str] = None,
public: Optional[bool] = None,
statuses: Optional[Sequence[str]] = None,
types: Optional[Sequence[str]] = None,
opts: Optional[InvokeOptions] = None) -> ClustersResult
def clusters_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
output_file: Optional[pulumi.Input[str]] = None,
public: Optional[pulumi.Input[bool]] = None,
statuses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[ClustersResult]
func Clusters(ctx *Context, args *ClustersArgs, opts ...InvokeOption) (*ClustersResult, error)
func ClustersOutput(ctx *Context, args *ClustersOutputArgs, opts ...InvokeOption) ClustersResultOutput
public static class Clusters
{
public static Task<ClustersResult> InvokeAsync(ClustersArgs args, InvokeOptions? opts = null)
public static Output<ClustersResult> Invoke(ClustersInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<ClustersResult> clusters(ClustersArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: volcengine:bioos:Clusters
arguments:
# arguments dictionary
The following arguments are supported:
- Ids List<string>
A list of cluster ids.
- Output
File string File name where to save data source results.
- Public bool
whether it is a public cluster.
- Statuses List<string>
The status of the clusters.
- Types List<string>
The type of the clusters.
- Ids []string
A list of cluster ids.
- Output
File string File name where to save data source results.
- Public bool
whether it is a public cluster.
- Statuses []string
The status of the clusters.
- Types []string
The type of the clusters.
- ids List<String>
A list of cluster ids.
- output
File String File name where to save data source results.
- public_ Boolean
whether it is a public cluster.
- statuses List<String>
The status of the clusters.
- types List<String>
The type of the clusters.
- ids string[]
A list of cluster ids.
- output
File string File name where to save data source results.
- public boolean
whether it is a public cluster.
- statuses string[]
The status of the clusters.
- types string[]
The type of the clusters.
- ids Sequence[str]
A list of cluster ids.
- output_
file str File name where to save data source results.
- public bool
whether it is a public cluster.
- statuses Sequence[str]
The status of the clusters.
- types Sequence[str]
The type of the clusters.
- ids List<String>
A list of cluster ids.
- output
File String File name where to save data source results.
- public Boolean
whether it is a public cluster.
- statuses List<String>
The status of the clusters.
- types List<String>
The type of the clusters.
Clusters Result
The following output properties are available:
- Id string
The provider-assigned unique ID for this managed resource.
- Items
List<Volcengine.
Clusters Item> The list of clusters.
- Total
Count int The total count of Cluster query.
- Ids List<string>
- Output
File string - Public bool
whether it is a public cluster.
- Statuses List<string>
- Types List<string>
- Id string
The provider-assigned unique ID for this managed resource.
- Items
[]Clusters
Item The list of clusters.
- Total
Count int The total count of Cluster query.
- Ids []string
- Output
File string - Public bool
whether it is a public cluster.
- Statuses []string
- Types []string
- id String
The provider-assigned unique ID for this managed resource.
- items
List<Clusters
Item> The list of clusters.
- total
Count Integer The total count of Cluster query.
- ids List<String>
- output
File String - public_ Boolean
whether it is a public cluster.
- statuses List<String>
- types List<String>
- id string
The provider-assigned unique ID for this managed resource.
- items
Clusters
Item[] The list of clusters.
- total
Count number The total count of Cluster query.
- ids string[]
- output
File string - public boolean
whether it is a public cluster.
- statuses string[]
- types string[]
- id str
The provider-assigned unique ID for this managed resource.
- items
Sequence[Clusters
Item] The list of clusters.
- total_
count int The total count of Cluster query.
- ids Sequence[str]
- output_
file str - public bool
whether it is a public cluster.
- statuses Sequence[str]
- types Sequence[str]
- id String
The provider-assigned unique ID for this managed resource.
- items List<Property Map>
The list of clusters.
- total
Count Number The total count of Cluster query.
- ids List<String>
- output
File String - public Boolean
whether it is a public cluster.
- statuses List<String>
- types List<String>
Supporting Types
ClustersItem
- Bound bool
Whether there is a bound workspace.
- Description string
The description of the cluster.
- Id string
The id of the bioos cluster.
- Name string
The name of the cluster.
- Public bool
whether it is a public cluster.
- Start
Time int The start time of the cluster.
- Stopped
Time int The end time of the cluster.
- Vke
Config stringId The id of the vke cluster.
- Vke
Config stringStorage Class The name of the StorageClass that the vke cluster has installed.
- Bound bool
Whether there is a bound workspace.
- Description string
The description of the cluster.
- Id string
The id of the bioos cluster.
- Name string
The name of the cluster.
- Public bool
whether it is a public cluster.
- Start
Time int The start time of the cluster.
- Stopped
Time int The end time of the cluster.
- Vke
Config stringId The id of the vke cluster.
- Vke
Config stringStorage Class The name of the StorageClass that the vke cluster has installed.
- bound Boolean
Whether there is a bound workspace.
- description String
The description of the cluster.
- id String
The id of the bioos cluster.
- name String
The name of the cluster.
- public_ Boolean
whether it is a public cluster.
- start
Time Integer The start time of the cluster.
- stopped
Time Integer The end time of the cluster.
- vke
Config StringId The id of the vke cluster.
- vke
Config StringStorage Class The name of the StorageClass that the vke cluster has installed.
- bound boolean
Whether there is a bound workspace.
- description string
The description of the cluster.
- id string
The id of the bioos cluster.
- name string
The name of the cluster.
- public boolean
whether it is a public cluster.
- start
Time number The start time of the cluster.
- stopped
Time number The end time of the cluster.
- vke
Config stringId The id of the vke cluster.
- vke
Config stringStorage Class The name of the StorageClass that the vke cluster has installed.
- bound bool
Whether there is a bound workspace.
- description str
The description of the cluster.
- id str
The id of the bioos cluster.
- name str
The name of the cluster.
- public bool
whether it is a public cluster.
- start_
time int The start time of the cluster.
- stopped_
time int The end time of the cluster.
- vke_
config_ strid The id of the vke cluster.
- vke_
config_ strstorage_ class The name of the StorageClass that the vke cluster has installed.
- bound Boolean
Whether there is a bound workspace.
- description String
The description of the cluster.
- id String
The id of the bioos cluster.
- name String
The name of the cluster.
- public Boolean
whether it is a public cluster.
- start
Time Number The start time of the cluster.
- stopped
Time Number The end time of the cluster.
- vke
Config StringId The id of the vke cluster.
- vke
Config StringStorage Class The name of the StorageClass that the vke cluster has installed.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
volcengine
Terraform Provider.