This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.
published on Wednesday, Nov 29, 2023 by Pulumi
This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.
published on Wednesday, Nov 29, 2023 by Pulumi
Creates a fleet. Auto-naming is currently not supported for this resource.
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[DefaultClusterConfigArgs] = None,
display_name: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
location: 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: google-native:gkehub/v1alpha:Fleet
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "google-native_gkehub_v1alpha_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 google_nativeFleetResource = new GoogleNative.GKEHub.V1Alpha.Fleet("google-nativeFleetResource", new()
{
DefaultClusterConfig = new GoogleNative.GKEHub.V1Alpha.Inputs.DefaultClusterConfigArgs
{
BinaryAuthorizationConfig = new GoogleNative.GKEHub.V1Alpha.Inputs.BinaryAuthorizationConfigArgs
{
EvaluationMode = GoogleNative.GKEHub.V1Alpha.BinaryAuthorizationConfigEvaluationMode.EvaluationModeUnspecified,
PolicyBindings = new[]
{
new GoogleNative.GKEHub.V1Alpha.Inputs.PolicyBindingArgs
{
Name = "string",
},
},
},
SecurityPostureConfig = new GoogleNative.GKEHub.V1Alpha.Inputs.SecurityPostureConfigArgs
{
Mode = GoogleNative.GKEHub.V1Alpha.SecurityPostureConfigMode.ModeUnspecified,
VulnerabilityMode = GoogleNative.GKEHub.V1Alpha.SecurityPostureConfigVulnerabilityMode.VulnerabilityModeUnspecified,
},
},
DisplayName = "string",
Labels =
{
{ "string", "string" },
},
Location = "string",
Project = "string",
});
example, err := gkehubv1alpha.NewFleet(ctx, "google-nativeFleetResource", &gkehubv1alpha.FleetArgs{
DefaultClusterConfig: &gkehub.DefaultClusterConfigArgs{
BinaryAuthorizationConfig: &gkehub.BinaryAuthorizationConfigArgs{
EvaluationMode: gkehubv1alpha.BinaryAuthorizationConfigEvaluationModeEvaluationModeUnspecified,
PolicyBindings: gkehub.PolicyBindingArray{
&gkehub.PolicyBindingArgs{
Name: pulumi.String("string"),
},
},
},
SecurityPostureConfig: &gkehub.SecurityPostureConfigArgs{
Mode: gkehubv1alpha.SecurityPostureConfigModeModeUnspecified,
VulnerabilityMode: gkehubv1alpha.SecurityPostureConfigVulnerabilityModeVulnerabilityModeUnspecified,
},
},
DisplayName: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Location: pulumi.String("string"),
Project: pulumi.String("string"),
})
resource "google-native_gkehub_v1alpha_fleet" "google-nativeFleetResource" {
lifecycle {
create_before_destroy = true
}
default_cluster_config = {
binary_authorization_config = {
evaluation_mode = "EVALUATION_MODE_UNSPECIFIED"
policy_bindings = [{
name = "string"
}]
}
security_posture_config = {
mode = "MODE_UNSPECIFIED"
vulnerability_mode = "VULNERABILITY_MODE_UNSPECIFIED"
}
}
display_name = "string"
labels = {
"string" = "string"
}
location = "string"
project = "string"
}
var google_nativeFleetResource = new com.pulumi.googlenative.gkehub_v1alpha.Fleet("google-nativeFleetResource", com.pulumi.googlenative.gkehub_v1alpha.FleetArgs.builder()
.defaultClusterConfig(com.pulumi.googlenative.gkehub_v1alpha.inputs.DefaultClusterConfigArgs.builder()
.binaryAuthorizationConfig(com.pulumi.googlenative.gkehub_v1alpha.inputs.BinaryAuthorizationConfigArgs.builder()
.evaluationMode(com.pulumi.googlenative.gkehub_v1alpha.enums.BinaryAuthorizationConfigEvaluationMode.EvaluationModeUnspecified)
.policyBindings(com.pulumi.googlenative.gkehub_v1alpha.inputs.PolicyBindingArgs.builder()
.name("string")
.build())
.build())
.securityPostureConfig(com.pulumi.googlenative.gkehub_v1alpha.inputs.SecurityPostureConfigArgs.builder()
.mode(com.pulumi.googlenative.gkehub_v1alpha.enums.SecurityPostureConfigMode.ModeUnspecified)
.vulnerabilityMode(com.pulumi.googlenative.gkehub_v1alpha.enums.SecurityPostureConfigVulnerabilityMode.VulnerabilityModeUnspecified)
.build())
.build())
.displayName("string")
.labels(Map.of("string", "string"))
.location("string")
.project("string")
.build());
google_native_fleet_resource = google_native.gkehub.v1alpha.Fleet("google-nativeFleetResource",
default_cluster_config={
"binary_authorization_config": {
"evaluation_mode": google_native.gkehub.v1alpha.BinaryAuthorizationConfigEvaluationMode.EVALUATION_MODE_UNSPECIFIED,
"policy_bindings": [{
"name": "string",
}],
},
"security_posture_config": {
"mode": google_native.gkehub.v1alpha.SecurityPostureConfigMode.MODE_UNSPECIFIED,
"vulnerability_mode": google_native.gkehub.v1alpha.SecurityPostureConfigVulnerabilityMode.VULNERABILITY_MODE_UNSPECIFIED,
},
},
display_name="string",
labels={
"string": "string",
},
location="string",
project="string")
const google_nativeFleetResource = new google_native.gkehub.v1alpha.Fleet("google-nativeFleetResource", {
defaultClusterConfig: {
binaryAuthorizationConfig: {
evaluationMode: google_native.gkehub.v1alpha.BinaryAuthorizationConfigEvaluationMode.EvaluationModeUnspecified,
policyBindings: [{
name: "string",
}],
},
securityPostureConfig: {
mode: google_native.gkehub.v1alpha.SecurityPostureConfigMode.ModeUnspecified,
vulnerabilityMode: google_native.gkehub.v1alpha.SecurityPostureConfigVulnerabilityMode.VulnerabilityModeUnspecified,
},
},
displayName: "string",
labels: {
string: "string",
},
location: "string",
project: "string",
});
type: google-native:gkehub/v1alpha:Fleet
properties:
defaultClusterConfig:
binaryAuthorizationConfig:
evaluationMode: EVALUATION_MODE_UNSPECIFIED
policyBindings:
- name: string
securityPostureConfig:
mode: MODE_UNSPECIFIED
vulnerabilityMode: VULNERABILITY_MODE_UNSPECIFIED
displayName: string
labels:
string: string
location: 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 Pulumi.Config Google Native. GKEHub. V1Alpha. Inputs. Default Cluster Config - Optional. The default cluster configurations to apply across the fleet.
- Display
Name string - Optional. 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. Example:
Production Fleet - Labels Dictionary<string, string>
- Optional. Labels for this Fleet.
- Location string
- Project string
- Default
Cluster DefaultConfig Cluster Config Args - Optional. The default cluster configurations to apply across the fleet.
- Display
Name string - Optional. 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. Example:
Production Fleet - Labels map[string]string
- Optional. Labels for this Fleet.
- Location string
- Project string
- default_
cluster_ objectconfig - Optional. The default cluster configurations to apply across the fleet.
- display_
name string - Optional. 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. Example:
Production Fleet - labels map(string)
- Optional. Labels for this Fleet.
- location string
- project string
- default
Cluster DefaultConfig Cluster Config - Optional. The default cluster configurations to apply across the fleet.
- display
Name String - Optional. 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. Example:
Production Fleet - labels Map<String,String>
- Optional. Labels for this Fleet.
- location String
- project String
- default
Cluster DefaultConfig Cluster Config - Optional. The default cluster configurations to apply across the fleet.
- display
Name string - Optional. 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. Example:
Production Fleet - labels {[key: string]: string}
- Optional. Labels for this Fleet.
- location string
- project string
- default_
cluster_ Defaultconfig Cluster Config Args - Optional. The default cluster configurations to apply across the fleet.
- display_
name str - Optional. 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. Example:
Production Fleet - labels Mapping[str, str]
- Optional. Labels for this Fleet.
- location str
- project str
- default
Cluster Property MapConfig - Optional. The default cluster configurations to apply across the fleet.
- display
Name String - Optional. 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. Example:
Production Fleet - labels Map<String>
- Optional. Labels for this Fleet.
- location String
- project String
Outputs
All input properties are implicitly available as output properties. Additionally, the Fleet resource produces the following output properties:
- Create
Time string - When the Fleet was created.
- Delete
Time string - When the Fleet was deleted.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The full, unique resource name of this fleet in the format of
projects/{project}/locations/{location}/fleets/{fleet}. Each Google Cloud project can have at most one fleet resource, named "default". - State
Pulumi.
Google Native. GKEHub. V1Alpha. Outputs. Fleet Lifecycle State Response - State of the namespace resource.
- 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 - When the Fleet was last updated.
- Create
Time string - When the Fleet was created.
- Delete
Time string - When the Fleet was deleted.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The full, unique resource name of this fleet in the format of
projects/{project}/locations/{location}/fleets/{fleet}. Each Google Cloud project can have at most one fleet resource, named "default". - State
Fleet
Lifecycle State Response - State of the namespace resource.
- 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 - When the Fleet was last updated.
- create_
time string - When the Fleet was created.
- delete_
time string - When the Fleet was deleted.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The full, unique resource name of this fleet in the format of
projects/{project}/locations/{location}/fleets/{fleet}. Each Google Cloud project can have at most one fleet resource, named "default". - state object
- State of the namespace resource.
- 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 - When the Fleet was last updated.
- create
Time String - When the Fleet was created.
- delete
Time String - When the Fleet was deleted.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The full, unique resource name of this fleet in the format of
projects/{project}/locations/{location}/fleets/{fleet}. Each Google Cloud project can have at most one fleet resource, named "default". - state
Fleet
Lifecycle State Response - State of the namespace resource.
- 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 - When the Fleet was last updated.
- create
Time string - When the Fleet was created.
- delete
Time string - When the Fleet was deleted.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The full, unique resource name of this fleet in the format of
projects/{project}/locations/{location}/fleets/{fleet}. Each Google Cloud project can have at most one fleet resource, named "default". - state
Fleet
Lifecycle State Response - State of the namespace resource.
- 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 - When the Fleet was last updated.
- create_
time str - When the Fleet was created.
- delete_
time str - When the Fleet was deleted.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The full, unique resource name of this fleet in the format of
projects/{project}/locations/{location}/fleets/{fleet}. Each Google Cloud project can have at most one fleet resource, named "default". - state
Fleet
Lifecycle State Response - State of the namespace resource.
- 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 - When the Fleet was last updated.
- create
Time String - When the Fleet was created.
- delete
Time String - When the Fleet was deleted.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The full, unique resource name of this fleet in the format of
projects/{project}/locations/{location}/fleets/{fleet}. Each Google Cloud project can have at most one fleet resource, named "default". - state Property Map
- State of the namespace resource.
- 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 - When the Fleet was last updated.
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>, opts?: CustomResourceOptions): Fleet@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> Fleetfunc GetFleet(ctx *Context, name string, id IDInput, state *FleetState, opts ...ResourceOption) (*Fleet, error)public static Fleet Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static Fleet get(String name, Output<String> id, CustomResourceOptions options)resources: existingFleet: type: google-native:gkehub/v1alpha:Fleet get: id: ${id}import {
to = google-native_gkehub_v1alpha_fleet.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- 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 resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state FleetState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
BinaryAuthorizationConfig, BinaryAuthorizationConfigArgs
BinaryAuthorizationConfig defines the fleet level configuration of binary authorization feature.
- Evaluation
Mode Pulumi.Google Native. GKEHub. V1Alpha. Binary Authorization Config Evaluation Mode - Optional. Mode of operation for binauthz policy evaluation.
- Policy
Bindings List<Pulumi.Google Native. GKEHub. V1Alpha. Inputs. Policy Binding> - Optional. Binauthz policies that apply to this cluster.
- Evaluation
Mode BinaryAuthorization Config Evaluation Mode - Optional. Mode of operation for binauthz policy evaluation.
- Policy
Bindings []PolicyBinding - Optional. Binauthz policies that apply to this cluster.
- evaluation_
mode "EVALUATION_MODE_UNSPECIFIED" | "DISABLED" | "POLICY_BINDINGS" - Optional. Mode of operation for binauthz policy evaluation.
- policy_
bindings list(object) - Optional. Binauthz policies that apply to this cluster.
- evaluation
Mode BinaryAuthorization Config Evaluation Mode - Optional. Mode of operation for binauthz policy evaluation.
- policy
Bindings List<PolicyBinding> - Optional. Binauthz policies that apply to this cluster.
- evaluation
Mode BinaryAuthorization Config Evaluation Mode - Optional. Mode of operation for binauthz policy evaluation.
- policy
Bindings PolicyBinding[] - Optional. Binauthz policies that apply to this cluster.
- evaluation_
mode BinaryAuthorization Config Evaluation Mode - Optional. Mode of operation for binauthz policy evaluation.
- policy_
bindings Sequence[PolicyBinding] - Optional. Binauthz policies that apply to this cluster.
- evaluation
Mode "EVALUATION_MODE_UNSPECIFIED" | "DISABLED" | "POLICY_BINDINGS" - Optional. Mode of operation for binauthz policy evaluation.
- policy
Bindings List<Property Map> - Optional. Binauthz policies that apply to this cluster.
BinaryAuthorizationConfigEvaluationMode
Optional. Mode of operation for binauthz policy evaluation.
| Name | Value | Description |
|---|---|---|
| Evaluation | EVALUATION_MODE_UNSPECIFIED | Default value |
| Disabled | DISABLED | Disable BinaryAuthorization |
| Policy | POLICY_BINDINGS | Use Binary Authorization with the policies specified in policy_bindings. |
| Name | Value | Description |
|---|---|---|
| Binary | EVALUATION_MODE_UNSPECIFIED | Default value |
| Binary | DISABLED | Disable BinaryAuthorization |
| Binary | POLICY_BINDINGS | Use Binary Authorization with the policies specified in policy_bindings. |
| Value | Description |
|---|---|
EVALUATION_MODE_UNSPECIFIED | Default value |
DISABLED | Disable BinaryAuthorization |
POLICY_BINDINGS | Use Binary Authorization with the policies specified in policy_bindings. |
| Name | Value | Description |
|---|---|---|
| Evaluation | EVALUATION_MODE_UNSPECIFIED | Default value |
| Disabled | DISABLED | Disable BinaryAuthorization |
| Policy | POLICY_BINDINGS | Use Binary Authorization with the policies specified in policy_bindings. |
| Name | Value | Description |
|---|---|---|
| Evaluation | EVALUATION_MODE_UNSPECIFIED | Default value |
| Disabled | DISABLED | Disable BinaryAuthorization |
| Policy | POLICY_BINDINGS | Use Binary Authorization with the policies specified in policy_bindings. |
| Name | Value | Description |
|---|---|---|
| EVALUATION_MODE_UNSPECIFIED | EVALUATION_MODE_UNSPECIFIED | Default value |
| DISABLED | DISABLED | Disable BinaryAuthorization |
| POLICY_BINDINGS | POLICY_BINDINGS | Use Binary Authorization with the policies specified in policy_bindings. |
| Value | Description |
|---|---|
EVALUATION_MODE_UNSPECIFIED | Default value |
DISABLED | Disable BinaryAuthorization |
POLICY_BINDINGS | Use Binary Authorization with the policies specified in policy_bindings. |
BinaryAuthorizationConfigResponse
BinaryAuthorizationConfig defines the fleet level configuration of binary authorization feature.
- Evaluation
Mode string - Optional. Mode of operation for binauthz policy evaluation.
- Policy
Bindings List<Pulumi.Google Native. GKEHub. V1Alpha. Inputs. Policy Binding Response> - Optional. Binauthz policies that apply to this cluster.
- Evaluation
Mode string - Optional. Mode of operation for binauthz policy evaluation.
- Policy
Bindings []PolicyBinding Response - Optional. Binauthz policies that apply to this cluster.
- evaluation_
mode string - Optional. Mode of operation for binauthz policy evaluation.
- policy_
bindings list(object) - Optional. Binauthz policies that apply to this cluster.
- evaluation
Mode String - Optional. Mode of operation for binauthz policy evaluation.
- policy
Bindings List<PolicyBinding Response> - Optional. Binauthz policies that apply to this cluster.
- evaluation
Mode string - Optional. Mode of operation for binauthz policy evaluation.
- policy
Bindings PolicyBinding Response[] - Optional. Binauthz policies that apply to this cluster.
- evaluation_
mode str - Optional. Mode of operation for binauthz policy evaluation.
- policy_
bindings Sequence[PolicyBinding Response] - Optional. Binauthz policies that apply to this cluster.
- evaluation
Mode String - Optional. Mode of operation for binauthz policy evaluation.
- policy
Bindings List<Property Map> - Optional. Binauthz policies that apply to this cluster.
DefaultClusterConfig, DefaultClusterConfigArgs
DefaultClusterConfig describes the default cluster configurations to be applied to all clusters born-in-fleet.
-
Pulumi.
Google Native. GKEHub. V1Alpha. Inputs. Binary Authorization Config - Optional. Enable/Disable binary authorization features for the cluster.
- Security
Posture Pulumi.Config Google Native. GKEHub. V1Alpha. Inputs. Security Posture Config - Enable/Disable Security Posture features for the cluster.
-
Binary
Authorization Config - Optional. Enable/Disable binary authorization features for the cluster.
- Security
Posture SecurityConfig Posture Config - Enable/Disable Security Posture features for the cluster.
- object
- Optional. Enable/Disable binary authorization features for the cluster.
- security_
posture_ objectconfig - Enable/Disable Security Posture features for the cluster.
-
Binary
Authorization Config - Optional. Enable/Disable binary authorization features for the cluster.
- security
Posture SecurityConfig Posture Config - Enable/Disable Security Posture features for the cluster.
-
Binary
Authorization Config - Optional. Enable/Disable binary authorization features for the cluster.
- security
Posture SecurityConfig Posture Config - Enable/Disable Security Posture features for the cluster.
-
Binary
Authorization Config - Optional. Enable/Disable binary authorization features for the cluster.
- security_
posture_ Securityconfig Posture Config - Enable/Disable Security Posture features for the cluster.
- Property Map
- Optional. Enable/Disable binary authorization features for the cluster.
- security
Posture Property MapConfig - Enable/Disable Security Posture features for the cluster.
DefaultClusterConfigResponse
DefaultClusterConfig describes the default cluster configurations to be applied to all clusters born-in-fleet.
-
Pulumi.
Google Native. GKEHub. V1Alpha. Inputs. Binary Authorization Config Response - Optional. Enable/Disable binary authorization features for the cluster.
- Security
Posture Pulumi.Config Google Native. GKEHub. V1Alpha. Inputs. Security Posture Config Response - Enable/Disable Security Posture features for the cluster.
-
Binary
Authorization Config Response - Optional. Enable/Disable binary authorization features for the cluster.
- Security
Posture SecurityConfig Posture Config Response - Enable/Disable Security Posture features for the cluster.
- object
- Optional. Enable/Disable binary authorization features for the cluster.
- security_
posture_ objectconfig - Enable/Disable Security Posture features for the cluster.
-
Binary
Authorization Config Response - Optional. Enable/Disable binary authorization features for the cluster.
- security
Posture SecurityConfig Posture Config Response - Enable/Disable Security Posture features for the cluster.
-
Binary
Authorization Config Response - Optional. Enable/Disable binary authorization features for the cluster.
- security
Posture SecurityConfig Posture Config Response - Enable/Disable Security Posture features for the cluster.
-
Binary
Authorization Config Response - Optional. Enable/Disable binary authorization features for the cluster.
- security_
posture_ Securityconfig Posture Config Response - Enable/Disable Security Posture features for the cluster.
- Property Map
- Optional. Enable/Disable binary authorization features for the cluster.
- security
Posture Property MapConfig - Enable/Disable Security Posture features for the cluster.
FleetLifecycleStateResponse
FleetLifecycleState describes the state of a Fleet resource.
- Code string
- The current state of the Fleet resource.
- Code string
- The current state of the Fleet resource.
- code string
- The current state of the Fleet resource.
- code String
- The current state of the Fleet resource.
- code string
- The current state of the Fleet resource.
- code str
- The current state of the Fleet resource.
- code String
- The current state of the Fleet resource.
PolicyBinding, PolicyBindingArgs
Binauthz policy that applies to this cluster.
- 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}.
PolicyBindingResponse
Binauthz policy that applies to this cluster.
- 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}.
SecurityPostureConfig, SecurityPostureConfigArgs
SecurityPostureConfig defines the flags needed to enable/disable features for the Security Posture API.
- Mode
Pulumi.
Google Native. GKEHub. V1Alpha. Security Posture Config Mode - Sets which mode to use for Security Posture features.
- Vulnerability
Mode Pulumi.Google Native. GKEHub. V1Alpha. Security Posture Config Vulnerability Mode - Sets which mode to use for vulnerability scanning.
- Mode
Security
Posture Config Mode - Sets which mode to use for Security Posture features.
- Vulnerability
Mode SecurityPosture Config Vulnerability Mode - Sets which mode to use for vulnerability scanning.
- mode "MODE_UNSPECIFIED" | "DISABLED" | "BASIC"
- Sets which mode to use for Security Posture features.
- vulnerability_
mode "VULNERABILITY_MODE_UNSPECIFIED" | "VULNERABILITY_DISABLED" | "VULNERABILITY_BASIC" | "VULNERABILITY_ENTERPRISE" - Sets which mode to use for vulnerability scanning.
- mode
Security
Posture Config Mode - Sets which mode to use for Security Posture features.
- vulnerability
Mode SecurityPosture Config Vulnerability Mode - Sets which mode to use for vulnerability scanning.
- mode
Security
Posture Config Mode - Sets which mode to use for Security Posture features.
- vulnerability
Mode SecurityPosture Config Vulnerability Mode - Sets which mode to use for vulnerability scanning.
- mode
Security
Posture Config Mode - Sets which mode to use for Security Posture features.
- vulnerability_
mode SecurityPosture Config Vulnerability Mode - Sets which mode to use for vulnerability scanning.
- mode "MODE_UNSPECIFIED" | "DISABLED" | "BASIC"
- Sets which mode to use for Security Posture features.
- vulnerability
Mode "VULNERABILITY_MODE_UNSPECIFIED" | "VULNERABILITY_DISABLED" | "VULNERABILITY_BASIC" | "VULNERABILITY_ENTERPRISE" - Sets which mode to use for vulnerability scanning.
SecurityPostureConfigMode
Sets which mode to use for Security Posture features.
| Name | Value | Description |
|---|---|---|
| Mode | MODE_UNSPECIFIED | Default value not specified. |
| Disabled | DISABLED | Disables Security Posture features on the cluster. |
| Basic | BASIC | Applies Security Posture features on the cluster. |
| Name | Value | Description |
|---|---|---|
| Security | MODE_UNSPECIFIED | Default value not specified. |
| Security | DISABLED | Disables Security Posture features on the cluster. |
| Security | BASIC | Applies Security Posture features on the cluster. |
| Value | Description |
|---|---|
MODE_UNSPECIFIED | Default value not specified. |
DISABLED | Disables Security Posture features on the cluster. |
BASIC | Applies Security Posture features on the cluster. |
| Name | Value | Description |
|---|---|---|
| Mode | MODE_UNSPECIFIED | Default value not specified. |
| Disabled | DISABLED | Disables Security Posture features on the cluster. |
| Basic | BASIC | Applies Security Posture features on the cluster. |
| Name | Value | Description |
|---|---|---|
| Mode | MODE_UNSPECIFIED | Default value not specified. |
| Disabled | DISABLED | Disables Security Posture features on the cluster. |
| Basic | BASIC | Applies Security Posture features on the cluster. |
| Name | Value | Description |
|---|---|---|
| MODE_UNSPECIFIED | MODE_UNSPECIFIED | Default value not specified. |
| DISABLED | DISABLED | Disables Security Posture features on the cluster. |
| BASIC | BASIC | Applies Security Posture features on the cluster. |
| Value | Description |
|---|---|
MODE_UNSPECIFIED | Default value not specified. |
DISABLED | Disables Security Posture features on the cluster. |
BASIC | Applies Security Posture features on the cluster. |
SecurityPostureConfigResponse
SecurityPostureConfig defines the flags needed to enable/disable features for the Security Posture API.
- Mode string
- Sets which mode to use for Security Posture features.
- Vulnerability
Mode string - Sets which mode to use for vulnerability scanning.
- Mode string
- Sets which mode to use for Security Posture features.
- Vulnerability
Mode string - Sets which mode to use for vulnerability scanning.
- mode string
- Sets which mode to use for Security Posture features.
- vulnerability_
mode string - Sets which mode to use for vulnerability scanning.
- mode String
- Sets which mode to use for Security Posture features.
- vulnerability
Mode String - Sets which mode to use for vulnerability scanning.
- mode string
- Sets which mode to use for Security Posture features.
- vulnerability
Mode string - Sets which mode to use for vulnerability scanning.
- mode str
- Sets which mode to use for Security Posture features.
- vulnerability_
mode str - Sets which mode to use for vulnerability scanning.
- mode String
- Sets which mode to use for Security Posture features.
- vulnerability
Mode String - Sets which mode to use for vulnerability scanning.
SecurityPostureConfigVulnerabilityMode
Sets which mode to use for vulnerability scanning.
| Name | Value | Description |
|---|---|---|
| Vulnerability | VULNERABILITY_MODE_UNSPECIFIED | Default value not specified. |
| Vulnerability | VULNERABILITY_DISABLED | Disables vulnerability scanning on the cluster. |
| Vulnerability | VULNERABILITY_BASIC | Applies basic vulnerability scanning on the cluster. |
| Vulnerability | VULNERABILITY_ENTERPRISE | Applies the Security Posture's vulnerability on cluster Enterprise level features. |
| Name | Value | Description |
|---|---|---|
| Security | VULNERABILITY_MODE_UNSPECIFIED | Default value not specified. |
| Security | VULNERABILITY_DISABLED | Disables vulnerability scanning on the cluster. |
| Security | VULNERABILITY_BASIC | Applies basic vulnerability scanning on the cluster. |
| Security | VULNERABILITY_ENTERPRISE | Applies the Security Posture's vulnerability on cluster Enterprise level features. |
| Value | Description |
|---|---|
VULNERABILITY_MODE_UNSPECIFIED | Default value not specified. |
VULNERABILITY_DISABLED | Disables vulnerability scanning on the cluster. |
VULNERABILITY_BASIC | Applies basic vulnerability scanning on the cluster. |
VULNERABILITY_ENTERPRISE | Applies the Security Posture's vulnerability on cluster Enterprise level features. |
| Name | Value | Description |
|---|---|---|
| Vulnerability | VULNERABILITY_MODE_UNSPECIFIED | Default value not specified. |
| Vulnerability | VULNERABILITY_DISABLED | Disables vulnerability scanning on the cluster. |
| Vulnerability | VULNERABILITY_BASIC | Applies basic vulnerability scanning on the cluster. |
| Vulnerability | VULNERABILITY_ENTERPRISE | Applies the Security Posture's vulnerability on cluster Enterprise level features. |
| Name | Value | Description |
|---|---|---|
| Vulnerability | VULNERABILITY_MODE_UNSPECIFIED | Default value not specified. |
| Vulnerability | VULNERABILITY_DISABLED | Disables vulnerability scanning on the cluster. |
| Vulnerability | VULNERABILITY_BASIC | Applies basic vulnerability scanning on the cluster. |
| Vulnerability | VULNERABILITY_ENTERPRISE | Applies the Security Posture's vulnerability on cluster Enterprise level features. |
| Name | Value | Description |
|---|---|---|
| VULNERABILITY_MODE_UNSPECIFIED | VULNERABILITY_MODE_UNSPECIFIED | Default value not specified. |
| VULNERABILITY_DISABLED | VULNERABILITY_DISABLED | Disables vulnerability scanning on the cluster. |
| VULNERABILITY_BASIC | VULNERABILITY_BASIC | Applies basic vulnerability scanning on the cluster. |
| VULNERABILITY_ENTERPRISE | VULNERABILITY_ENTERPRISE | Applies the Security Posture's vulnerability on cluster Enterprise level features. |
| Value | Description |
|---|---|
VULNERABILITY_MODE_UNSPECIFIED | Default value not specified. |
VULNERABILITY_DISABLED | Disables vulnerability scanning on the cluster. |
VULNERABILITY_BASIC | Applies basic vulnerability scanning on the cluster. |
VULNERABILITY_ENTERPRISE | Applies the Security Posture's vulnerability on cluster Enterprise level features. |
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.
published on Wednesday, Nov 29, 2023 by Pulumi