Google Native

Pulumi Official
Package maintained by Pulumi
v0.23.0 published on Thursday, Aug 11, 2022 by Pulumi

getFleet

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.

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

Name string

The full, unique resource name of this fleet in the format of projects/{project}/locations/{location}/fleets/{fleet}. Each GCP 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.

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

Name string

The full, unique resource name of this fleet in the format of projects/{project}/locations/{location}/fleets/{fleet}. Each GCP 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.

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

name String

The full, unique resource name of this fleet in the format of projects/{project}/locations/{location}/fleets/{fleet}. Each GCP 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.

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

name string

The full, unique resource name of this fleet in the format of projects/{project}/locations/{location}/fleets/{fleet}. Each GCP 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.

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

name str

The full, unique resource name of this fleet in the format of projects/{project}/locations/{location}/fleets/{fleet}. Each GCP 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.

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

name String

The full, unique resource name of this fleet in the format of projects/{project}/locations/{location}/fleets/{fleet}. Each GCP 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

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.

Package Details

Repository
https://github.com/pulumi/pulumi-google-native
License
Apache-2.0