1. Registry
  2. Packages
  3. Google Cloud (GCP)
  4. API Docs
  5. gkehub
  6. Fleet
Viewing docs for Google Cloud v10.1.1
published on Tuesday, Oct 13, 2026 by Pulumi
gcp logo
Viewing docs for Google Cloud v10.1.1
published on Tuesday, Oct 13, 2026 by Pulumi

    Fleet contains information about a group of clusters.

    To get more information about Fleet, see:

    Example Usage

    Gkehub Fleet Basic

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const _default = new gcp.gkehub.Fleet("default", {
        displayName: "my production fleet",
        defaultClusterConfig: {
            securityPostureConfig: {
                mode: "DISABLED",
                vulnerabilityMode: "VULNERABILITY_DISABLED",
            },
            compliancePostureConfig: {
                mode: "ENABLED",
            },
        },
        labels: {
            env: "prod",
        },
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    default = gcp.gkehub.Fleet("default",
        display_name="my production fleet",
        default_cluster_config={
            "security_posture_config": {
                "mode": "DISABLED",
                "vulnerability_mode": "VULNERABILITY_DISABLED",
            },
            "compliance_posture_config": {
                "mode": "ENABLED",
            },
        },
        labels={
            "env": "prod",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v10/go/gcp/gkehub"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := gkehub.NewFleet(ctx, "default", &gkehub.FleetArgs{
    			DisplayName: pulumi.String("my production fleet"),
    			DefaultClusterConfig: &gkehub.FleetDefaultClusterConfigArgs{
    				SecurityPostureConfig: &gkehub.FleetDefaultClusterConfigSecurityPostureConfigArgs{
    					Mode:              pulumi.String("DISABLED"),
    					VulnerabilityMode: pulumi.String("VULNERABILITY_DISABLED"),
    				},
    				CompliancePostureConfig: &gkehub.FleetDefaultClusterConfigCompliancePostureConfigArgs{
    					Mode: pulumi.String("ENABLED"),
    				},
    			},
    			Labels: pulumi.StringMap{
    				"env": pulumi.String("prod"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = new Gcp.GkeHub.Fleet("default", new()
        {
            DisplayName = "my production fleet",
            DefaultClusterConfig = new Gcp.GkeHub.Inputs.FleetDefaultClusterConfigArgs
            {
                SecurityPostureConfig = new Gcp.GkeHub.Inputs.FleetDefaultClusterConfigSecurityPostureConfigArgs
                {
                    Mode = "DISABLED",
                    VulnerabilityMode = "VULNERABILITY_DISABLED",
                },
                CompliancePostureConfig = new Gcp.GkeHub.Inputs.FleetDefaultClusterConfigCompliancePostureConfigArgs
                {
                    Mode = "ENABLED",
                },
            },
            Labels = 
            {
                { "env", "prod" },
            },
        });
    
    });
    
    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 com.pulumi.gcp.gkehub.inputs.FleetDefaultClusterConfigArgs;
    import com.pulumi.gcp.gkehub.inputs.FleetDefaultClusterConfigSecurityPostureConfigArgs;
    import com.pulumi.gcp.gkehub.inputs.FleetDefaultClusterConfigCompliancePostureConfigArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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")
                .defaultClusterConfig(FleetDefaultClusterConfigArgs.builder()
                    .securityPostureConfig(FleetDefaultClusterConfigSecurityPostureConfigArgs.builder()
                        .mode("DISABLED")
                        .vulnerabilityMode("VULNERABILITY_DISABLED")
                        .build())
                    .compliancePostureConfig(FleetDefaultClusterConfigCompliancePostureConfigArgs.builder()
                        .mode("ENABLED")
                        .build())
                    .build())
                .labels(Map.of("env", "prod"))
                .build());
    
        }
    }
    
    resources:
      default:
        type: gcp:gkehub:Fleet
        properties:
          displayName: my production fleet
          defaultClusterConfig:
            securityPostureConfig:
              mode: DISABLED
              vulnerabilityMode: VULNERABILITY_DISABLED
            compliancePostureConfig:
              mode: ENABLED
          labels:
            env: prod
    
    terraform {
      required_providers {
        gcp = {
          source = "pulumi/gcp"
        }
      }
    }
    
    resource "gcp_gkehub_fleet" "default" {
      lifecycle {
        create_before_destroy = true
      }
      display_name = "my production fleet"
      default_cluster_config = {
        security_posture_config = {
          mode               = "DISABLED"
          vulnerability_mode = "VULNERABILITY_DISABLED"
        }
        compliance_posture_config = {
          mode = "ENABLED"
        }
      }
      labels = {
        "env" = "prod"
      }
    }
    

    Create Fleet Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Fleet(name: string, args?: FleetArgs, opts?: CustomResourceOptions);
    @overload
    def Fleet(resource_name: str,
              args: Optional[FleetArgs] = None,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Fleet(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              default_cluster_config: Optional[FleetDefaultClusterConfigArgs] = None,
              deletion_policy: Optional[str] = None,
              display_name: Optional[str] = None,
              labels: Optional[Mapping[str, str]] = None,
              project: Optional[str] = None)
    func NewFleet(ctx *Context, name string, args *FleetArgs, opts ...ResourceOption) (*Fleet, error)
    public Fleet(string name, FleetArgs? args = null, CustomResourceOptions? opts = null)
    public Fleet(String name, FleetArgs args)
    public Fleet(String name, FleetArgs args, CustomResourceOptions options)
    
    type: gcp:gkehub:Fleet
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "gcp_gkehub_fleet" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args FleetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args FleetArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args FleetArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FleetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FleetArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var fleetResource = new Gcp.GkeHub.Fleet("fleetResource", new()
    {
        DefaultClusterConfig = new Gcp.GkeHub.Inputs.FleetDefaultClusterConfigArgs
        {
            BinaryAuthorizationConfig = new Gcp.GkeHub.Inputs.FleetDefaultClusterConfigBinaryAuthorizationConfigArgs
            {
                EvaluationMode = "string",
                PolicyBindings = new[]
                {
                    new Gcp.GkeHub.Inputs.FleetDefaultClusterConfigBinaryAuthorizationConfigPolicyBindingArgs
                    {
                        Name = "string",
                    },
                },
            },
            CompliancePostureConfig = new Gcp.GkeHub.Inputs.FleetDefaultClusterConfigCompliancePostureConfigArgs
            {
                ComplianceStandards = new[]
                {
                    new Gcp.GkeHub.Inputs.FleetDefaultClusterConfigCompliancePostureConfigComplianceStandardArgs
                    {
                        Standard = "string",
                    },
                },
                Mode = "string",
            },
            SecurityPostureConfig = new Gcp.GkeHub.Inputs.FleetDefaultClusterConfigSecurityPostureConfigArgs
            {
                Mode = "string",
                VulnerabilityMode = "string",
            },
        },
        DeletionPolicy = "string",
        DisplayName = "string",
        Labels = 
        {
            { "string", "string" },
        },
        Project = "string",
    });
    
    example, err := gkehub.NewFleet(ctx, "fleetResource", &gkehub.FleetArgs{
    	DefaultClusterConfig: &gkehub.FleetDefaultClusterConfigArgs{
    		BinaryAuthorizationConfig: &gkehub.FleetDefaultClusterConfigBinaryAuthorizationConfigArgs{
    			EvaluationMode: pulumi.String("string"),
    			PolicyBindings: gkehub.FleetDefaultClusterConfigBinaryAuthorizationConfigPolicyBindingArray{
    				&gkehub.FleetDefaultClusterConfigBinaryAuthorizationConfigPolicyBindingArgs{
    					Name: pulumi.String("string"),
    				},
    			},
    		},
    		CompliancePostureConfig: &gkehub.FleetDefaultClusterConfigCompliancePostureConfigArgs{
    			ComplianceStandards: gkehub.FleetDefaultClusterConfigCompliancePostureConfigComplianceStandardArray{
    				&gkehub.FleetDefaultClusterConfigCompliancePostureConfigComplianceStandardArgs{
    					Standard: pulumi.String("string"),
    				},
    			},
    			Mode: pulumi.String("string"),
    		},
    		SecurityPostureConfig: &gkehub.FleetDefaultClusterConfigSecurityPostureConfigArgs{
    			Mode:              pulumi.String("string"),
    			VulnerabilityMode: pulumi.String("string"),
    		},
    	},
    	DeletionPolicy: pulumi.String("string"),
    	DisplayName:    pulumi.String("string"),
    	Labels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Project: pulumi.String("string"),
    })
    
    resource "gcp_gkehub_fleet" "fleetResource" {
      lifecycle {
        create_before_destroy = true
      }
      default_cluster_config = {
        binary_authorization_config = {
          evaluation_mode = "string"
          policy_bindings = [{
            name = "string"
          }]
        }
        compliance_posture_config = {
          compliance_standards = [{
            standard = "string"
          }]
          mode = "string"
        }
        security_posture_config = {
          mode               = "string"
          vulnerability_mode = "string"
        }
      }
      deletion_policy = "string"
      display_name    = "string"
      labels = {
        "string" = "string"
      }
      project = "string"
    }
    
    var fleetResource = new Fleet("fleetResource", FleetArgs.builder()
        .defaultClusterConfig(FleetDefaultClusterConfigArgs.builder()
            .binaryAuthorizationConfig(FleetDefaultClusterConfigBinaryAuthorizationConfigArgs.builder()
                .evaluationMode("string")
                .policyBindings(FleetDefaultClusterConfigBinaryAuthorizationConfigPolicyBindingArgs.builder()
                    .name("string")
                    .build())
                .build())
            .compliancePostureConfig(FleetDefaultClusterConfigCompliancePostureConfigArgs.builder()
                .complianceStandards(FleetDefaultClusterConfigCompliancePostureConfigComplianceStandardArgs.builder()
                    .standard("string")
                    .build())
                .mode("string")
                .build())
            .securityPostureConfig(FleetDefaultClusterConfigSecurityPostureConfigArgs.builder()
                .mode("string")
                .vulnerabilityMode("string")
                .build())
            .build())
        .deletionPolicy("string")
        .displayName("string")
        .labels(Map.of("string", "string"))
        .project("string")
        .build());
    
    fleet_resource = gcp.gkehub.Fleet("fleetResource",
        default_cluster_config={
            "binary_authorization_config": {
                "evaluation_mode": "string",
                "policy_bindings": [{
                    "name": "string",
                }],
            },
            "compliance_posture_config": {
                "compliance_standards": [{
                    "standard": "string",
                }],
                "mode": "string",
            },
            "security_posture_config": {
                "mode": "string",
                "vulnerability_mode": "string",
            },
        },
        deletion_policy="string",
        display_name="string",
        labels={
            "string": "string",
        },
        project="string")
    
    const fleetResource = new gcp.gkehub.Fleet("fleetResource", {
        defaultClusterConfig: {
            binaryAuthorizationConfig: {
                evaluationMode: "string",
                policyBindings: [{
                    name: "string",
                }],
            },
            compliancePostureConfig: {
                complianceStandards: [{
                    standard: "string",
                }],
                mode: "string",
            },
            securityPostureConfig: {
                mode: "string",
                vulnerabilityMode: "string",
            },
        },
        deletionPolicy: "string",
        displayName: "string",
        labels: {
            string: "string",
        },
        project: "string",
    });
    
    type: gcp:gkehub:Fleet
    properties:
        defaultClusterConfig:
            binaryAuthorizationConfig:
                evaluationMode: string
                policyBindings:
                    - name: string
            compliancePostureConfig:
                complianceStandards:
                    - standard: string
                mode: string
            securityPostureConfig:
                mode: string
                vulnerabilityMode: string
        deletionPolicy: string
        displayName: string
        labels:
            string: string
        project: string
    

    Fleet Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Fleet resource accepts the following input properties:

    DefaultClusterConfig FleetDefaultClusterConfig
    The default cluster configurations to apply across the fleet. Structure is documented below.
    DeletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    DisplayName 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.
    Labels Dictionary<string, string>

    Labels for this Fleet.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.

    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    DefaultClusterConfig FleetDefaultClusterConfigArgs
    The default cluster configurations to apply across the fleet. Structure is documented below.
    DeletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    DisplayName 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.
    Labels map[string]string

    Labels for this Fleet.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.

    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    default_cluster_config object
    The default cluster configurations to apply across the fleet. Structure is documented below.
    deletion_policy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    display_name 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.
    labels map(string)

    Labels for this Fleet.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.

    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    defaultClusterConfig FleetDefaultClusterConfig
    The default cluster configurations to apply across the fleet. Structure is documented below.
    deletionPolicy String
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    displayName 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.
    labels Map<String,String>

    Labels for this Fleet.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.

    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    defaultClusterConfig FleetDefaultClusterConfig
    The default cluster configurations to apply across the fleet. Structure is documented below.
    deletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    displayName 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.
    labels {[key: string]: string}

    Labels for this Fleet.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.

    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    default_cluster_config FleetDefaultClusterConfigArgs
    The default cluster configurations to apply across the fleet. Structure is documented below.
    deletion_policy str
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    display_name str
    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.
    labels Mapping[str, str]

    Labels for this Fleet.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.

    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    defaultClusterConfig Property Map
    The default cluster configurations to apply across the fleet. Structure is documented below.
    deletionPolicy String
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    displayName 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.
    labels Map<String>

    Labels for this Fleet.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.

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

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Fleet resource produces the following output properties:

    CreateTime string
    The time the fleet was created, in RFC3339 text format.
    DeleteTime string
    The time the fleet was deleted, in RFC3339 text format.
    EffectiveLabels Dictionary<string, string>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    Id string
    The provider-assigned unique ID for this managed resource.
    PulumiLabels Dictionary<string, string>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    States List<FleetState>
    The state of the fleet resource. Structure is documented below.
    Uid 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.
    UpdateTime string
    The time the fleet was last updated, in RFC3339 text format.
    CreateTime string
    The time the fleet was created, in RFC3339 text format.
    DeleteTime string
    The time the fleet was deleted, in RFC3339 text format.
    EffectiveLabels map[string]string
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    Id string
    The provider-assigned unique ID for this managed resource.
    PulumiLabels map[string]string
    The combination of labels configured directly on the resource and default labels configured on the provider.
    States []FleetStateType
    The state of the fleet resource. Structure is documented below.
    Uid 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.
    UpdateTime string
    The time the fleet was last updated, in RFC3339 text format.
    create_time string
    The time the fleet was created, in RFC3339 text format.
    delete_time string
    The time the fleet was deleted, in RFC3339 text format.
    effective_labels map(string)
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    id string
    The provider-assigned unique ID for this managed resource.
    pulumi_labels map(string)
    The combination of labels configured directly on the resource and default labels configured on the provider.
    states list(object)
    The state of the fleet resource. Structure is documented below.
    uid 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.
    update_time string
    The time the fleet was last updated, in RFC3339 text format.
    createTime String
    The time the fleet was created, in RFC3339 text format.
    deleteTime String
    The time the fleet was deleted, in RFC3339 text format.
    effectiveLabels Map<String,String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    id String
    The provider-assigned unique ID for this managed resource.
    pulumiLabels Map<String,String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    states List<FleetState>
    The state of the fleet resource. Structure is documented below.
    uid 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.
    updateTime String
    The time the fleet was last updated, in RFC3339 text format.
    createTime string
    The time the fleet was created, in RFC3339 text format.
    deleteTime string
    The time the fleet was deleted, in RFC3339 text format.
    effectiveLabels {[key: string]: string}
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    id string
    The provider-assigned unique ID for this managed resource.
    pulumiLabels {[key: string]: string}
    The combination of labels configured directly on the resource and default labels configured on the provider.
    states FleetState[]
    The state of the fleet resource. Structure is documented below.
    uid 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.
    updateTime string
    The time the fleet was last updated, in RFC3339 text format.
    create_time str
    The time the fleet was created, in RFC3339 text format.
    delete_time str
    The time the fleet was deleted, in RFC3339 text format.
    effective_labels Mapping[str, str]
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    id str
    The provider-assigned unique ID for this managed resource.
    pulumi_labels Mapping[str, str]
    The combination of labels configured directly on the resource and default labels configured on the provider.
    states Sequence[FleetState]
    The state of the fleet resource. Structure is documented below.
    uid str
    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.
    update_time str
    The time the fleet was last updated, in RFC3339 text format.
    createTime String
    The time the fleet was created, in RFC3339 text format.
    deleteTime String
    The time the fleet was deleted, in RFC3339 text format.
    effectiveLabels Map<String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    id String
    The provider-assigned unique ID for this managed resource.
    pulumiLabels Map<String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    states List<Property Map>
    The state of the fleet resource. Structure is documented below.
    uid 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.
    updateTime String
    The time the fleet was last updated, in RFC3339 text format.

    Look up Existing Fleet Resource

    Get an existing Fleet resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: FleetState, opts?: CustomResourceOptions): Fleet
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            create_time: Optional[str] = None,
            default_cluster_config: Optional[FleetDefaultClusterConfigArgs] = None,
            delete_time: Optional[str] = None,
            deletion_policy: Optional[str] = None,
            display_name: Optional[str] = None,
            effective_labels: Optional[Mapping[str, str]] = None,
            labels: Optional[Mapping[str, str]] = None,
            project: Optional[str] = None,
            pulumi_labels: Optional[Mapping[str, str]] = None,
            states: Optional[Sequence[FleetStateArgs]] = None,
            uid: Optional[str] = None,
            update_time: Optional[str] = None) -> Fleet
    func GetFleet(ctx *Context, name string, id IDInput, state *FleetState, opts ...ResourceOption) (*Fleet, error)
    public static Fleet Get(string name, Input<string> id, FleetState? state, CustomResourceOptions? opts = null)
    public static Fleet get(String name, Output<String> id, FleetState state, CustomResourceOptions options)
    resources:  _:    type: gcp:gkehub:Fleet    get:      id: ${id}
    import {
      to = gcp_gkehub_fleet.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CreateTime string
    The time the fleet was created, in RFC3339 text format.
    DefaultClusterConfig FleetDefaultClusterConfig
    The default cluster configurations to apply across the fleet. Structure is documented below.
    DeleteTime string
    The time the fleet was deleted, in RFC3339 text format.
    DeletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    DisplayName 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.
    EffectiveLabels Dictionary<string, string>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    Labels Dictionary<string, string>

    Labels for this Fleet.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.

    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    PulumiLabels Dictionary<string, string>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    States List<FleetState>
    The state of the fleet resource. Structure is documented below.
    Uid 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.
    UpdateTime string
    The time the fleet was last updated, in RFC3339 text format.
    CreateTime string
    The time the fleet was created, in RFC3339 text format.
    DefaultClusterConfig FleetDefaultClusterConfigArgs
    The default cluster configurations to apply across the fleet. Structure is documented below.
    DeleteTime string
    The time the fleet was deleted, in RFC3339 text format.
    DeletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    DisplayName 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.
    EffectiveLabels map[string]string
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    Labels map[string]string

    Labels for this Fleet.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.

    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    PulumiLabels map[string]string
    The combination of labels configured directly on the resource and default labels configured on the provider.
    States []FleetStateTypeArgs
    The state of the fleet resource. Structure is documented below.
    Uid 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.
    UpdateTime string
    The time the fleet was last updated, in RFC3339 text format.
    create_time string
    The time the fleet was created, in RFC3339 text format.
    default_cluster_config object
    The default cluster configurations to apply across the fleet. Structure is documented below.
    delete_time string
    The time the fleet was deleted, in RFC3339 text format.
    deletion_policy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    display_name 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.
    effective_labels map(string)
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    labels map(string)

    Labels for this Fleet.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.

    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumi_labels map(string)
    The combination of labels configured directly on the resource and default labels configured on the provider.
    states list(object)
    The state of the fleet resource. Structure is documented below.
    uid 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.
    update_time string
    The time the fleet was last updated, in RFC3339 text format.
    createTime String
    The time the fleet was created, in RFC3339 text format.
    defaultClusterConfig FleetDefaultClusterConfig
    The default cluster configurations to apply across the fleet. Structure is documented below.
    deleteTime String
    The time the fleet was deleted, in RFC3339 text format.
    deletionPolicy String
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    displayName 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.
    effectiveLabels Map<String,String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    labels Map<String,String>

    Labels for this Fleet.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.

    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumiLabels Map<String,String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    states List<FleetState>
    The state of the fleet resource. Structure is documented below.
    uid 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.
    updateTime String
    The time the fleet was last updated, in RFC3339 text format.
    createTime string
    The time the fleet was created, in RFC3339 text format.
    defaultClusterConfig FleetDefaultClusterConfig
    The default cluster configurations to apply across the fleet. Structure is documented below.
    deleteTime string
    The time the fleet was deleted, in RFC3339 text format.
    deletionPolicy string
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    displayName 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.
    effectiveLabels {[key: string]: string}
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    labels {[key: string]: string}

    Labels for this Fleet.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.

    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumiLabels {[key: string]: string}
    The combination of labels configured directly on the resource and default labels configured on the provider.
    states FleetState[]
    The state of the fleet resource. Structure is documented below.
    uid 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.
    updateTime string
    The time the fleet was last updated, in RFC3339 text format.
    create_time str
    The time the fleet was created, in RFC3339 text format.
    default_cluster_config FleetDefaultClusterConfigArgs
    The default cluster configurations to apply across the fleet. Structure is documented below.
    delete_time str
    The time the fleet was deleted, in RFC3339 text format.
    deletion_policy str
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    display_name str
    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.
    effective_labels Mapping[str, str]
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    labels Mapping[str, str]

    Labels for this Fleet.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.

    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumi_labels Mapping[str, str]
    The combination of labels configured directly on the resource and default labels configured on the provider.
    states Sequence[FleetStateArgs]
    The state of the fleet resource. Structure is documented below.
    uid str
    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.
    update_time str
    The time the fleet was last updated, in RFC3339 text format.
    createTime String
    The time the fleet was created, in RFC3339 text format.
    defaultClusterConfig Property Map
    The default cluster configurations to apply across the fleet. Structure is documented below.
    deleteTime String
    The time the fleet was deleted, in RFC3339 text format.
    deletionPolicy String
    Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
    displayName 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.
    effectiveLabels Map<String>
    All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
    labels Map<String>

    Labels for this Fleet.

    Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.

    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    pulumiLabels Map<String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    states List<Property Map>
    The state of the fleet resource. Structure is documented below.
    uid 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.
    updateTime String
    The time the fleet was last updated, in RFC3339 text format.

    Supporting Types

    FleetDefaultClusterConfig, FleetDefaultClusterConfigArgs

    BinaryAuthorizationConfig FleetDefaultClusterConfigBinaryAuthorizationConfig
    Enable/Disable binary authorization features for the cluster. Structure is documented below.
    CompliancePostureConfig FleetDefaultClusterConfigCompliancePostureConfig
    Enable/Disable Compliance Posture features for the cluster. Structure is documented below.
    SecurityPostureConfig FleetDefaultClusterConfigSecurityPostureConfig
    Enable/Disable Security Posture features for the cluster. Structure is documented below.
    BinaryAuthorizationConfig FleetDefaultClusterConfigBinaryAuthorizationConfig
    Enable/Disable binary authorization features for the cluster. Structure is documented below.
    CompliancePostureConfig FleetDefaultClusterConfigCompliancePostureConfig
    Enable/Disable Compliance Posture features for the cluster. Structure is documented below.
    SecurityPostureConfig FleetDefaultClusterConfigSecurityPostureConfig
    Enable/Disable Security Posture features for the cluster. Structure is documented below.
    binary_authorization_config object
    Enable/Disable binary authorization features for the cluster. Structure is documented below.
    compliance_posture_config object
    Enable/Disable Compliance Posture features for the cluster. Structure is documented below.
    security_posture_config object
    Enable/Disable Security Posture features for the cluster. Structure is documented below.
    binaryAuthorizationConfig FleetDefaultClusterConfigBinaryAuthorizationConfig
    Enable/Disable binary authorization features for the cluster. Structure is documented below.
    compliancePostureConfig FleetDefaultClusterConfigCompliancePostureConfig
    Enable/Disable Compliance Posture features for the cluster. Structure is documented below.
    securityPostureConfig FleetDefaultClusterConfigSecurityPostureConfig
    Enable/Disable Security Posture features for the cluster. Structure is documented below.
    binaryAuthorizationConfig FleetDefaultClusterConfigBinaryAuthorizationConfig
    Enable/Disable binary authorization features for the cluster. Structure is documented below.
    compliancePostureConfig FleetDefaultClusterConfigCompliancePostureConfig
    Enable/Disable Compliance Posture features for the cluster. Structure is documented below.
    securityPostureConfig FleetDefaultClusterConfigSecurityPostureConfig
    Enable/Disable Security Posture features for the cluster. Structure is documented below.
    binary_authorization_config FleetDefaultClusterConfigBinaryAuthorizationConfig
    Enable/Disable binary authorization features for the cluster. Structure is documented below.
    compliance_posture_config FleetDefaultClusterConfigCompliancePostureConfig
    Enable/Disable Compliance Posture features for the cluster. Structure is documented below.
    security_posture_config FleetDefaultClusterConfigSecurityPostureConfig
    Enable/Disable Security Posture features for the cluster. Structure is documented below.
    binaryAuthorizationConfig Property Map
    Enable/Disable binary authorization features for the cluster. Structure is documented below.
    compliancePostureConfig Property Map
    Enable/Disable Compliance Posture features for the cluster. Structure is documented below.
    securityPostureConfig Property Map
    Enable/Disable Security Posture features for the cluster. Structure is documented below.

    FleetDefaultClusterConfigBinaryAuthorizationConfig, FleetDefaultClusterConfigBinaryAuthorizationConfigArgs

    EvaluationMode string
    Mode of operation for binauthz policy evaluation. Possible values are: DISABLED, POLICY_BINDINGS.
    PolicyBindings List<FleetDefaultClusterConfigBinaryAuthorizationConfigPolicyBinding>
    Binauthz policies that apply to this cluster. Structure is documented below.
    EvaluationMode string
    Mode of operation for binauthz policy evaluation. Possible values are: DISABLED, POLICY_BINDINGS.
    PolicyBindings []FleetDefaultClusterConfigBinaryAuthorizationConfigPolicyBinding
    Binauthz policies that apply to this cluster. Structure is documented below.
    evaluation_mode string
    Mode of operation for binauthz policy evaluation. Possible values are: DISABLED, POLICY_BINDINGS.
    policy_bindings list(object)
    Binauthz policies that apply to this cluster. Structure is documented below.
    evaluationMode String
    Mode of operation for binauthz policy evaluation. Possible values are: DISABLED, POLICY_BINDINGS.
    policyBindings List<FleetDefaultClusterConfigBinaryAuthorizationConfigPolicyBinding>
    Binauthz policies that apply to this cluster. Structure is documented below.
    evaluationMode string
    Mode of operation for binauthz policy evaluation. Possible values are: DISABLED, POLICY_BINDINGS.
    policyBindings FleetDefaultClusterConfigBinaryAuthorizationConfigPolicyBinding[]
    Binauthz policies that apply to this cluster. Structure is documented below.
    evaluation_mode str
    Mode of operation for binauthz policy evaluation. Possible values are: DISABLED, POLICY_BINDINGS.
    policy_bindings Sequence[FleetDefaultClusterConfigBinaryAuthorizationConfigPolicyBinding]
    Binauthz policies that apply to this cluster. Structure is documented below.
    evaluationMode String
    Mode of operation for binauthz policy evaluation. Possible values are: DISABLED, POLICY_BINDINGS.
    policyBindings List<Property Map>
    Binauthz policies that apply to this cluster. Structure is documented below.

    FleetDefaultClusterConfigBinaryAuthorizationConfigPolicyBinding, FleetDefaultClusterConfigBinaryAuthorizationConfigPolicyBindingArgs

    Name string
    The relative resource name of the binauthz platform policy to audit. GKE platform policies have the following format: projects/{project_number}/platforms/gke/policies/{policy_id}.
    Name string
    The relative resource name of the binauthz platform policy to audit. GKE platform policies have the following format: projects/{project_number}/platforms/gke/policies/{policy_id}.
    name string
    The relative resource name of the binauthz platform policy to audit. GKE platform policies have the following format: projects/{project_number}/platforms/gke/policies/{policy_id}.
    name String
    The relative resource name of the binauthz platform policy to audit. GKE platform policies have the following format: projects/{project_number}/platforms/gke/policies/{policy_id}.
    name string
    The relative resource name of the binauthz platform policy to audit. GKE platform policies have the following format: projects/{project_number}/platforms/gke/policies/{policy_id}.
    name str
    The relative resource name of the binauthz platform policy to audit. GKE platform policies have the following format: projects/{project_number}/platforms/gke/policies/{policy_id}.
    name String
    The relative resource name of the binauthz platform policy to audit. GKE platform policies have the following format: projects/{project_number}/platforms/gke/policies/{policy_id}.

    FleetDefaultClusterConfigCompliancePostureConfig, FleetDefaultClusterConfigCompliancePostureConfigArgs

    ComplianceStandards List<FleetDefaultClusterConfigCompliancePostureConfigComplianceStandard>
    List of enabled compliance standards. Structure is documented below.
    Mode string
    Sets which mode to use for Compliance Posture features. Possible values are: DISABLED, ENABLED.
    ComplianceStandards []FleetDefaultClusterConfigCompliancePostureConfigComplianceStandard
    List of enabled compliance standards. Structure is documented below.
    Mode string
    Sets which mode to use for Compliance Posture features. Possible values are: DISABLED, ENABLED.
    compliance_standards list(object)
    List of enabled compliance standards. Structure is documented below.
    mode string
    Sets which mode to use for Compliance Posture features. Possible values are: DISABLED, ENABLED.
    complianceStandards List<FleetDefaultClusterConfigCompliancePostureConfigComplianceStandard>
    List of enabled compliance standards. Structure is documented below.
    mode String
    Sets which mode to use for Compliance Posture features. Possible values are: DISABLED, ENABLED.
    complianceStandards FleetDefaultClusterConfigCompliancePostureConfigComplianceStandard[]
    List of enabled compliance standards. Structure is documented below.
    mode string
    Sets which mode to use for Compliance Posture features. Possible values are: DISABLED, ENABLED.
    compliance_standards Sequence[FleetDefaultClusterConfigCompliancePostureConfigComplianceStandard]
    List of enabled compliance standards. Structure is documented below.
    mode str
    Sets which mode to use for Compliance Posture features. Possible values are: DISABLED, ENABLED.
    complianceStandards List<Property Map>
    List of enabled compliance standards. Structure is documented below.
    mode String
    Sets which mode to use for Compliance Posture features. Possible values are: DISABLED, ENABLED.

    FleetDefaultClusterConfigCompliancePostureConfigComplianceStandard, FleetDefaultClusterConfigCompliancePostureConfigComplianceStandardArgs

    Standard string
    Name of the compliance standard.
    Standard string
    Name of the compliance standard.
    standard string
    Name of the compliance standard.
    standard String
    Name of the compliance standard.
    standard string
    Name of the compliance standard.
    standard str
    Name of the compliance standard.
    standard String
    Name of the compliance standard.

    FleetDefaultClusterConfigSecurityPostureConfig, FleetDefaultClusterConfigSecurityPostureConfigArgs

    Mode string
    Sets which mode to use for Security Posture features. Possible values are: DISABLED, BASIC, ENTERPRISE.
    VulnerabilityMode string
    Sets which mode to use for vulnerability scanning. Possible values are: VULNERABILITY_DISABLED, VULNERABILITY_BASIC, VULNERABILITY_ENTERPRISE.
    Mode string
    Sets which mode to use for Security Posture features. Possible values are: DISABLED, BASIC, ENTERPRISE.
    VulnerabilityMode string
    Sets which mode to use for vulnerability scanning. Possible values are: VULNERABILITY_DISABLED, VULNERABILITY_BASIC, VULNERABILITY_ENTERPRISE.
    mode string
    Sets which mode to use for Security Posture features. Possible values are: DISABLED, BASIC, ENTERPRISE.
    vulnerability_mode string
    Sets which mode to use for vulnerability scanning. Possible values are: VULNERABILITY_DISABLED, VULNERABILITY_BASIC, VULNERABILITY_ENTERPRISE.
    mode String
    Sets which mode to use for Security Posture features. Possible values are: DISABLED, BASIC, ENTERPRISE.
    vulnerabilityMode String
    Sets which mode to use for vulnerability scanning. Possible values are: VULNERABILITY_DISABLED, VULNERABILITY_BASIC, VULNERABILITY_ENTERPRISE.
    mode string
    Sets which mode to use for Security Posture features. Possible values are: DISABLED, BASIC, ENTERPRISE.
    vulnerabilityMode string
    Sets which mode to use for vulnerability scanning. Possible values are: VULNERABILITY_DISABLED, VULNERABILITY_BASIC, VULNERABILITY_ENTERPRISE.
    mode str
    Sets which mode to use for Security Posture features. Possible values are: DISABLED, BASIC, ENTERPRISE.
    vulnerability_mode str
    Sets which mode to use for vulnerability scanning. Possible values are: VULNERABILITY_DISABLED, VULNERABILITY_BASIC, VULNERABILITY_ENTERPRISE.
    mode String
    Sets which mode to use for Security Posture features. Possible values are: DISABLED, BASIC, ENTERPRISE.
    vulnerabilityMode String
    Sets which mode to use for vulnerability scanning. Possible values are: VULNERABILITY_DISABLED, VULNERABILITY_BASIC, VULNERABILITY_ENTERPRISE.

    FleetState, FleetStateArgs

    Code string
    (Output) Describes the state of a Fleet resource.
    Code string
    (Output) Describes the state of a Fleet resource.
    code string
    (Output) Describes the state of a Fleet resource.
    code String
    (Output) Describes the state of a Fleet resource.
    code string
    (Output) Describes the state of a Fleet resource.
    code str
    (Output) Describes the state of a Fleet resource.
    code String
    (Output) Describes the state of a Fleet resource.

    Import

    Fleet can be imported using any of these accepted formats:

    • projects/{{project}}/locations/global/fleets/default
    • {{project}}

    When using the pulumi import command, 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}}
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Google Cloud (GCP) Classic pulumi/pulumi-gcp
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the google-beta Terraform Provider.
    gcp logo
    Viewing docs for Google Cloud v10.1.1
    published on Tuesday, Oct 13, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial