google-native.gkehub/v1alpha.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:
getFleet Result
The following output properties are available:
- Create
Time string When the Fleet was created.
- 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
- 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.
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.
- 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
- 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
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.
- 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
- 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
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.
- 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
- 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
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.
- 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
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.
- 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
- 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.
- update
Time 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
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0