Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.gkehub/v1beta.Fleet
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a fleet. Auto-naming is currently not supported for this resource.
Create Fleet Resource
new Fleet(name: string, args?: FleetArgs, opts?: CustomResourceOptions);
@overload
def Fleet(resource_name: str,
opts: Optional[ResourceOptions] = None,
display_name: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None)
@overload
def Fleet(resource_name: str,
args: Optional[FleetArgs] = None,
opts: Optional[ResourceOptions] = None)
func NewFleet(ctx *Context, name string, args *FleetArgs, opts ...ResourceOption) (*Fleet, error)
public Fleet(string name, FleetArgs? args = null, CustomResourceOptions? opts = null)
type: google-native:gkehub/v1beta:Fleet
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FleetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args FleetArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args FleetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FleetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FleetArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Fleet Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Fleet resource accepts the following input properties:
- 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
- Location string
- Project string
- 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
- Location string
- Project string
- 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
- location String
- project String
- 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
- location string
- project string
- 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
- location str
- project str
- 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
- location String
- project String
Outputs
All input properties are implicitly available as output properties. Additionally, the Fleet resource produces the following output properties:
- Create
Time string When the Fleet was created.
- Delete
Time string When the Fleet was deleted.
- Id string
The provider-assigned unique ID for this managed resource.
- 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. V1Beta. 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.
- Id string
The provider-assigned unique ID for this managed resource.
- 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.
- delete
Time String When the Fleet was deleted.
- id String
The provider-assigned unique ID for this managed resource.
- 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.
- delete
Time string When the Fleet was deleted.
- id string
The provider-assigned unique ID for this managed resource.
- 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.
- delete_
time str When the Fleet was deleted.
- id str
The provider-assigned unique ID for this managed resource.
- 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.
- delete
Time String When the Fleet was deleted.
- id String
The provider-assigned unique ID for this managed resource.
- 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
FleetLifecycleStateResponse, FleetLifecycleStateResponseArgs
- 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
Google Cloud Native is in preview. Google Cloud Classic is fully supported.