Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.gkehub/v1.getFleet
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
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)
public static Output<GetFleetResult> getFleet(GetFleetArgs args, InvokeOptions options)
fn::invoke:
  function: google-native:gkehub/v1:getFleet
  arguments:
    # arguments dictionaryThe following arguments are supported:
getFleet Result
The following output properties are available:
- CreateTime string
- When the Fleet was created.
- DefaultCluster Pulumi.Config Google Native. GKEHub. V1. Outputs. Default Cluster Config Response 
- Optional. The default cluster configurations to apply across the fleet.
- DeleteTime string
- When the Fleet was deleted.
- DisplayName 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. V1. 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.
- UpdateTime string
- When the Fleet was last updated.
- CreateTime string
- When the Fleet was created.
- DefaultCluster DefaultConfig Cluster Config Response 
- Optional. The default cluster configurations to apply across the fleet.
- DeleteTime string
- When the Fleet was deleted.
- DisplayName 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
FleetLifecycle 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.
- UpdateTime string
- When the Fleet was last updated.
- createTime String
- When the Fleet was created.
- defaultCluster DefaultConfig Cluster Config Response 
- Optional. The default cluster configurations to apply across the fleet.
- deleteTime String
- When the Fleet was deleted.
- displayName 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
FleetLifecycle 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.
- updateTime String
- When the Fleet was last updated.
- createTime string
- When the Fleet was created.
- defaultCluster DefaultConfig Cluster Config Response 
- Optional. The default cluster configurations to apply across the fleet.
- deleteTime string
- When the Fleet was deleted.
- displayName 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
FleetLifecycle 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.
- updateTime 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
FleetLifecycle 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.
- createTime String
- When the Fleet was created.
- defaultCluster Property MapConfig 
- Optional. The default cluster configurations to apply across the fleet.
- deleteTime String
- When the Fleet was deleted.
- displayName 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.
- updateTime String
- When the Fleet was last updated.
Supporting Types
BinaryAuthorizationConfigResponse   
- EvaluationMode string
- Optional. Mode of operation for binauthz policy evaluation.
- PolicyBindings List<Pulumi.Google Native. GKEHub. V1. Inputs. Policy Binding Response> 
- Optional. Binauthz policies that apply to this cluster.
- EvaluationMode string
- Optional. Mode of operation for binauthz policy evaluation.
- PolicyBindings []PolicyBinding Response 
- Optional. Binauthz policies that apply to this cluster.
- evaluationMode String
- Optional. Mode of operation for binauthz policy evaluation.
- policyBindings List<PolicyBinding Response> 
- Optional. Binauthz policies that apply to this cluster.
- evaluationMode string
- Optional. Mode of operation for binauthz policy evaluation.
- policyBindings 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.
- evaluationMode String
- Optional. Mode of operation for binauthz policy evaluation.
- policyBindings List<Property Map>
- Optional. Binauthz policies that apply to this cluster.
DefaultClusterConfigResponse   
- 
Pulumi.Google Native. GKEHub. V1. Inputs. Binary Authorization Config Response 
- Optional. Enable/Disable binary authorization features for the cluster.
- SecurityPosture Pulumi.Config Google Native. GKEHub. V1. Inputs. Security Posture Config Response 
- Enable/Disable Security Posture features for the cluster.
- 
BinaryAuthorization Config Response 
- Optional. Enable/Disable binary authorization features for the cluster.
- SecurityPosture SecurityConfig Posture Config Response 
- Enable/Disable Security Posture features for the cluster.
- 
BinaryAuthorization Config Response 
- Optional. Enable/Disable binary authorization features for the cluster.
- securityPosture SecurityConfig Posture Config Response 
- Enable/Disable Security Posture features for the cluster.
- 
BinaryAuthorization Config Response 
- Optional. Enable/Disable binary authorization features for the cluster.
- securityPosture SecurityConfig Posture Config Response 
- Enable/Disable Security Posture features for the cluster.
- 
BinaryAuthorization 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.
- securityPosture 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.
- VulnerabilityMode string
- Sets which mode to use for vulnerability scanning.
- Mode string
- Sets which mode to use for Security Posture features.
- VulnerabilityMode string
- Sets which mode to use for vulnerability scanning.
- mode String
- Sets which mode to use for Security Posture features.
- vulnerabilityMode String
- Sets which mode to use for vulnerability scanning.
- mode string
- Sets which mode to use for Security Posture features.
- vulnerabilityMode 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.
- vulnerabilityMode 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.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi