gcp.gkehub.Fleet
Explore with Pulumi AI
Fleet contains information about a group of clusters.
To get more information about Fleet, see:
- API documentation
- How-to Guides
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",
        },
    },
});
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",
        },
    })
package main
import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/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"),
				},
			},
		})
		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",
            },
        },
    });
});
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 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")
            .defaultClusterConfig(FleetDefaultClusterConfigArgs.builder()
                .securityPostureConfig(FleetDefaultClusterConfigSecurityPostureConfigArgs.builder()
                    .mode("DISABLED")
                    .vulnerabilityMode("VULNERABILITY_DISABLED")
                    .build())
                .build())
            .build());
    }
}
resources:
  default:
    type: gcp:gkehub:Fleet
    properties:
      displayName: my production fleet
      defaultClusterConfig:
        securityPostureConfig:
          mode: DISABLED
          vulnerabilityMode: VULNERABILITY_DISABLED
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,
          display_name: Optional[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)type: gcp:gkehub:Fleet
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
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",
                },
            },
        },
        SecurityPostureConfig = new Gcp.GkeHub.Inputs.FleetDefaultClusterConfigSecurityPostureConfigArgs
        {
            Mode = "string",
            VulnerabilityMode = "string",
        },
    },
    DisplayName = "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"),
				},
			},
		},
		SecurityPostureConfig: &gkehub.FleetDefaultClusterConfigSecurityPostureConfigArgs{
			Mode:              pulumi.String("string"),
			VulnerabilityMode: pulumi.String("string"),
		},
	},
	DisplayName: pulumi.String("string"),
	Project:     pulumi.String("string"),
})
var fleetResource = new Fleet("fleetResource", FleetArgs.builder()
    .defaultClusterConfig(FleetDefaultClusterConfigArgs.builder()
        .binaryAuthorizationConfig(FleetDefaultClusterConfigBinaryAuthorizationConfigArgs.builder()
            .evaluationMode("string")
            .policyBindings(FleetDefaultClusterConfigBinaryAuthorizationConfigPolicyBindingArgs.builder()
                .name("string")
                .build())
            .build())
        .securityPostureConfig(FleetDefaultClusterConfigSecurityPostureConfigArgs.builder()
            .mode("string")
            .vulnerabilityMode("string")
            .build())
        .build())
    .displayName("string")
    .project("string")
    .build());
fleet_resource = gcp.gkehub.Fleet("fleetResource",
    default_cluster_config={
        "binary_authorization_config": {
            "evaluation_mode": "string",
            "policy_bindings": [{
                "name": "string",
            }],
        },
        "security_posture_config": {
            "mode": "string",
            "vulnerability_mode": "string",
        },
    },
    display_name="string",
    project="string")
const fleetResource = new gcp.gkehub.Fleet("fleetResource", {
    defaultClusterConfig: {
        binaryAuthorizationConfig: {
            evaluationMode: "string",
            policyBindings: [{
                name: "string",
            }],
        },
        securityPostureConfig: {
            mode: "string",
            vulnerabilityMode: "string",
        },
    },
    displayName: "string",
    project: "string",
});
type: gcp:gkehub:Fleet
properties:
    defaultClusterConfig:
        binaryAuthorizationConfig:
            evaluationMode: string
            policyBindings:
                - name: string
        securityPostureConfig:
            mode: string
            vulnerabilityMode: string
    displayName: 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:
- DefaultCluster FleetConfig Default Cluster Config 
- The default cluster configurations to apply across the fleet. Structure is documented below.
- 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.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- DefaultCluster FleetConfig Default Cluster Config Args 
- The default cluster configurations to apply across the fleet. Structure is documented below.
- 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.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- defaultCluster FleetConfig Default Cluster Config 
- The default cluster configurations to apply across the fleet. Structure is documented below.
- 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.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- defaultCluster FleetConfig Default Cluster Config 
- The default cluster configurations to apply across the fleet. Structure is documented below.
- 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.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- default_cluster_ Fleetconfig Default Cluster Config Args 
- The default cluster configurations to apply across the fleet. Structure is documented below.
- 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.
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- defaultCluster Property MapConfig 
- The default cluster configurations to apply across the fleet. Structure is documented below.
- 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.
- 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- States
[]FleetState Type 
- 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.
- id String
- The provider-assigned unique ID for this managed resource.
- 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.
- id string
- The provider-assigned unique ID for this managed resource.
- 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.
- id str
- The provider-assigned unique ID for this managed resource.
- 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.
- id String
- The provider-assigned unique ID for this managed resource.
- 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,
        display_name: Optional[str] = None,
        project: Optional[str] = None,
        states: Optional[Sequence[FleetStateArgs]] = None,
        uid: Optional[str] = None,
        update_time: Optional[str] = None) -> Fleetfunc 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}- 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.
- CreateTime string
- The time the fleet was created, in RFC3339 text format.
- DefaultCluster FleetConfig Default Cluster Config 
- 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.
- 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.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- 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.
- DefaultCluster FleetConfig Default Cluster Config Args 
- 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.
- 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.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- States
[]FleetState Type Args 
- 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.
- defaultCluster FleetConfig Default Cluster Config 
- 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.
- 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.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- 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.
- defaultCluster FleetConfig Default Cluster Config 
- 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.
- 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.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- 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_ Fleetconfig Default Cluster Config Args 
- 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.
- 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.
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- states
Sequence[FleetState Args] 
- 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.
- defaultCluster Property MapConfig 
- 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.
- 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.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- 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        
- 
FleetDefault Cluster Config Binary Authorization Config 
- Enable/Disable binary authorization features for the cluster. Structure is documented below.
- SecurityPosture FleetConfig Default Cluster Config Security Posture Config 
- Enable/Disable Security Posture features for the cluster. Structure is documented below.
- 
FleetDefault Cluster Config Binary Authorization Config 
- Enable/Disable binary authorization features for the cluster. Structure is documented below.
- SecurityPosture FleetConfig Default Cluster Config Security Posture Config 
- Enable/Disable Security Posture features for the cluster. Structure is documented below.
- 
FleetDefault Cluster Config Binary Authorization Config 
- Enable/Disable binary authorization features for the cluster. Structure is documented below.
- securityPosture FleetConfig Default Cluster Config Security Posture Config 
- Enable/Disable Security Posture features for the cluster. Structure is documented below.
- 
FleetDefault Cluster Config Binary Authorization Config 
- Enable/Disable binary authorization features for the cluster. Structure is documented below.
- securityPosture FleetConfig Default Cluster Config Security Posture Config 
- Enable/Disable Security Posture features for the cluster. Structure is documented below.
- 
FleetDefault Cluster Config Binary Authorization Config 
- Enable/Disable binary authorization features for the cluster. Structure is documented below.
- security_posture_ Fleetconfig Default Cluster Config Security Posture Config 
- Enable/Disable Security Posture features for the cluster. Structure is documented below.
- Property Map
- Enable/Disable binary authorization features for the cluster. Structure is documented below.
- securityPosture Property MapConfig 
- 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<FleetDefault Cluster Config Binary Authorization Config Policy Binding> 
- 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 []FleetDefault Cluster Config Binary Authorization Config Policy Binding 
- 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<FleetDefault Cluster Config Binary Authorization Config Policy Binding> 
- 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 FleetDefault Cluster Config Binary Authorization Config Policy Binding[] 
- 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[FleetDefault Cluster Config Binary Authorization Config Policy Binding] 
- 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 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}.
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.
- 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 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-betaTerraform Provider.