Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.gkehub/v1alpha.getFleet
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Returns the details of a fleet.
Using getFleet
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getFleet(args: GetFleetArgs, opts?: InvokeOptions): Promise<GetFleetResult>
function getFleetOutput(args: GetFleetOutputArgs, opts?: InvokeOptions): Output<GetFleetResult>
def get_fleet(fleet_id: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetFleetResult
def get_fleet_output(fleet_id: Optional[pulumi.Input[str]] = None,
location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetFleetResult]
func LookupFleet(ctx *Context, args *LookupFleetArgs, opts ...InvokeOption) (*LookupFleetResult, error)
func LookupFleetOutput(ctx *Context, args *LookupFleetOutputArgs, opts ...InvokeOption) LookupFleetResultOutput
> Note: This function is named LookupFleet
in the Go SDK.
public static class GetFleet
{
public static Task<GetFleetResult> InvokeAsync(GetFleetArgs args, InvokeOptions? opts = null)
public static Output<GetFleetResult> Invoke(GetFleetInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetFleetResult> getFleet(GetFleetArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:gkehub/v1alpha:getFleet
arguments:
# arguments dictionary
The following arguments are supported:
getFleet Result
The following output properties are available:
- Create
Time string When the Fleet was created.
- Default
Cluster Pulumi.Config Google Native. GKEHub. V1Alpha. Outputs. Default Cluster Config Response Optional. The default cluster configurations to apply across the fleet.
- Delete
Time string When the Fleet was deleted.
- 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.
- 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.
- Default
Cluster DefaultConfig Cluster Config Response Optional. The default cluster configurations to apply across the fleet.
- Delete
Time string When the Fleet was deleted.
- 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.
- 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.
- default
Cluster DefaultConfig Cluster Config Response Optional. The default cluster configurations to apply across the fleet.
- delete
Time String When the Fleet was deleted.
- 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.
- 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.
- default
Cluster DefaultConfig Cluster Config Response Optional. The default cluster configurations to apply across the fleet.
- delete
Time string When the Fleet was deleted.
- 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.
- 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.
- default_
cluster_ Defaultconfig Cluster Config Response Optional. The default cluster configurations to apply across the fleet.
- delete_
time str When the Fleet was deleted.
- 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.
- 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.
- default
Cluster Property MapConfig Optional. The default cluster configurations to apply across the fleet.
- delete
Time String When the Fleet was deleted.
- 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.
- 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.
Supporting Types
BinaryAuthorizationConfigResponse
- 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<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.
DefaultClusterConfigResponse
- 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.
- 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
- 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.
PolicyBindingResponse
- 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}
.
SecurityPostureConfigResponse
- 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.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.