Cluster constructor

Cluster(
  1. String name, {
  2. ClusterArgs? args,
  3. CustomResourceOptions? options,
})

Creates a new Cluster. name The Pulumi resource name. args Arguments used to configure this Cluster. The set of arguments for Cluster. options Resource options controlling this resource's behavior.

Implementation

Cluster(
  String name, {
  ClusterArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'google-native:bigtableadmin/v2:Cluster',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        options ?? pulumi.CustomResourceOptions(),
      ) {
  clusterConfig = registerOutput<ClusterConfigResponse>('clusterConfig', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ClusterConfigResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  clusterId = registerOutput<String>('clusterId');
  defaultStorageType = registerOutput<String>('defaultStorageType');
  encryptionConfig = registerOutput<EncryptionConfigResponse>('encryptionConfig', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return EncryptionConfigResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  instanceId = registerOutput<String>('instanceId');
  location = registerOutput<String>('location');
  this.name = registerOutput<String>('name');
  project = registerOutput<String>('project');
  serveNodes = registerOutput<int>('serveNodes');
  state = registerOutput<String>('state');
}