1. Packages
  2. Google Cloud Native
  3. API Docs
  4. gkehub
  5. gkehub/v1alpha
  6. getFleet

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/v1alpha.getFleet

Explore with Pulumi AI

google-native logo

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)
    // 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:

    FleetId string
    Location string
    Project string
    FleetId string
    Location string
    Project string
    fleetId String
    location String
    project String
    fleetId string
    location string
    project string
    fleetId String
    location String
    project String

    getFleet Result

    The following output properties are available:

    CreateTime string
    When the Fleet was created.
    DefaultClusterConfig Pulumi.GoogleNative.GKEHub.V1Alpha.Outputs.DefaultClusterConfigResponse
    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.GoogleNative.GKEHub.V1Alpha.Outputs.FleetLifecycleStateResponse
    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.
    DefaultClusterConfig DefaultClusterConfigResponse
    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 FleetLifecycleStateResponse
    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.
    defaultClusterConfig DefaultClusterConfigResponse
    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 FleetLifecycleStateResponse
    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.
    defaultClusterConfig DefaultClusterConfigResponse
    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 FleetLifecycleStateResponse
    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_config DefaultClusterConfigResponse
    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 FleetLifecycleStateResponse
    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.
    defaultClusterConfig Property Map
    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.GoogleNative.GKEHub.V1Alpha.Inputs.PolicyBindingResponse>
    Optional. Binauthz policies that apply to this cluster.
    EvaluationMode string
    Optional. Mode of operation for binauthz policy evaluation.
    PolicyBindings []PolicyBindingResponse
    Optional. Binauthz policies that apply to this cluster.
    evaluationMode String
    Optional. Mode of operation for binauthz policy evaluation.
    policyBindings List<PolicyBindingResponse>
    Optional. Binauthz policies that apply to this cluster.
    evaluationMode string
    Optional. Mode of operation for binauthz policy evaluation.
    policyBindings PolicyBindingResponse[]
    Optional. Binauthz policies that apply to this cluster.
    evaluation_mode str
    Optional. Mode of operation for binauthz policy evaluation.
    policy_bindings Sequence[PolicyBindingResponse]
    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

    BinaryAuthorizationConfig Pulumi.GoogleNative.GKEHub.V1Alpha.Inputs.BinaryAuthorizationConfigResponse
    Optional. Enable/Disable binary authorization features for the cluster.
    SecurityPostureConfig Pulumi.GoogleNative.GKEHub.V1Alpha.Inputs.SecurityPostureConfigResponse
    Enable/Disable Security Posture features for the cluster.
    BinaryAuthorizationConfig BinaryAuthorizationConfigResponse
    Optional. Enable/Disable binary authorization features for the cluster.
    SecurityPostureConfig SecurityPostureConfigResponse
    Enable/Disable Security Posture features for the cluster.
    binaryAuthorizationConfig BinaryAuthorizationConfigResponse
    Optional. Enable/Disable binary authorization features for the cluster.
    securityPostureConfig SecurityPostureConfigResponse
    Enable/Disable Security Posture features for the cluster.
    binaryAuthorizationConfig BinaryAuthorizationConfigResponse
    Optional. Enable/Disable binary authorization features for the cluster.
    securityPostureConfig SecurityPostureConfigResponse
    Enable/Disable Security Posture features for the cluster.
    binary_authorization_config BinaryAuthorizationConfigResponse
    Optional. Enable/Disable binary authorization features for the cluster.
    security_posture_config SecurityPostureConfigResponse
    Enable/Disable Security Posture features for the cluster.
    binaryAuthorizationConfig Property Map
    Optional. Enable/Disable binary authorization features for the cluster.
    securityPostureConfig Property Map
    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-native logo

    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