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:
- Default
Cluster FleetConfig Default Cluster Config - The default cluster configurations to apply across the fleet. Structure is documented below.
- 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.
- 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 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 - The default cluster configurations to apply across the fleet. Structure is documented below.
- 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.
- 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 - The default cluster configurations to apply across the fleet. Structure is documented below.
- 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.
- 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.
- default
Cluster Property MapConfig - The default cluster configurations to apply across the fleet. Structure is documented below.
- 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.
- 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:
- 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- States
List<Fleet
State> - 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.
- 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- States
[]Fleet
State 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.
- Update
Time 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.
- id String
- The provider-assigned unique ID for this managed resource.
- states
List<Fleet
State> - 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.
- 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.
- id string
- The provider-assigned unique ID for this managed resource.
- states
Fleet
State[] - 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.
- 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[Fleet
State] - 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.
- 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.
- 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.
- update
Time 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) -> 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)
Resource lookup is not supported in YAML
- 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.
- Create
Time string - The time the fleet was created, in RFC3339 text format.
- Default
Cluster FleetConfig Default Cluster Config - 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.
- 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.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- States
List<Fleet
State> - 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.
- Create
Time string - 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 string - The time the fleet was deleted, in RFC3339 text format.
- 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.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- States
[]Fleet
State 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.
- Update
Time 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 FleetConfig Default Cluster Config - 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.
- 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.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- states
List<Fleet
State> - 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.
- create
Time string - The time the fleet was created, in RFC3339 text format.
- default
Cluster FleetConfig Default Cluster Config - 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.
- 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.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- states
Fleet
State[] - 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.
- 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[Fleet
State 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.
- create
Time String - The time the fleet was created, in RFC3339 text format.
- default
Cluster Property MapConfig - 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.
- 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.
- 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.
- update
Time String - The time the fleet was last updated, in RFC3339 text format.
Supporting Types
FleetDefaultClusterConfig, FleetDefaultClusterConfigArgs
- Fleet
Default 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.
- Fleet
Default 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.
- Fleet
Default 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.
- Fleet
Default 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.
- Fleet
Default 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.
- security
Posture Property MapConfig - Enable/Disable Security Posture features for the cluster. Structure is documented below.
FleetDefaultClusterConfigBinaryAuthorizationConfig, FleetDefaultClusterConfigBinaryAuthorizationConfigArgs
- Evaluation
Mode string - Mode of operation for binauthz policy evaluation.
Possible values are:
DISABLED
,POLICY_BINDINGS
. - Policy
Bindings List<FleetDefault Cluster Config Binary Authorization Config Policy Binding> - 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 []FleetDefault Cluster Config Binary Authorization Config Policy Binding - 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<FleetDefault Cluster Config Binary Authorization Config Policy Binding> - 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 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.
- evaluation
Mode String - Mode of operation for binauthz policy evaluation.
Possible values are:
DISABLED
,POLICY_BINDINGS
. - policy
Bindings 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
. - 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
. - 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
. - 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
. - vulnerability
Mode 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
. - vulnerability
Mode 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-beta
Terraform Provider.