Fleet

class Fleet : KotlinCustomResource

Fleet contains information about a group of clusters. To get more information about Fleet, see:

Example Usage

Gkehub Fleet Basic

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.gkehub.Fleet;
import com.pulumi.gcp.gkehub.FleetArgs;
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) {
var default_ = new Fleet("default", FleetArgs.builder()
.displayName("my production fleet")
.build());
}
}

Import

Fleet can be imported using any of these accepted formats* projects/{{project}}/locations/global/fleets/default * {{project}} In Terraform v1.5.0 and later, use an import block to import Fleet using one of the formats above. For exampletf import { id = "projects/{{project}}/locations/global/fleets/default" to = google_gke_hub_fleet.default }

$ pulumi import gcp:gkehub/fleet:Fleet When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), Fleet can be imported using one of the formats above. For example
$ pulumi import gcp:gkehub/fleet:Fleet default projects/{{project}}/locations/global/fleets/default
$ pulumi import gcp:gkehub/fleet:Fleet default {{project}}

Properties

Link copied to clipboard
val createTime: Output<String>

The time the fleet was created, in RFC3339 text format.

Link copied to clipboard
val deleteTime: Output<String>

The time the fleet was deleted, in RFC3339 text format.

Link copied to clipboard
val displayName: Output<String>?

A user-assigned display name of the Fleet. When present, it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote, space, and exclamation point.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val project: Output<String>

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val states: Output<List<FleetState>>

The state of the fleet resource. Structure is documented below.

Link copied to clipboard
val uid: Output<String>

Google-generated UUID for this resource. This is unique across all Fleet resources. If a Fleet resource is deleted and another resource with the same name is created, it gets a different uid.

Link copied to clipboard
val updateTime: Output<String>

The time the fleet was last updated, in RFC3339 text format.

Link copied to clipboard
val urn: Output<String>