Google Native

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

Fleet

Creates a fleet. Auto-naming is currently not supported for this resource.

Create a 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)
public Fleet(String name, FleetArgs args)
public Fleet(String name, FleetArgs args, CustomResourceOptions options)
type: google-native:gkehub/v1alpha: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:

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

Location string
Project string
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

Location string
Project string
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

location String
project String
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

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
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

location String
project String

Outputs

All input properties are implicitly available as output properties. Additionally, the Fleet resource produces the following output properties:

CreateTime string

When the Fleet was created.

DeleteTime 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 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.

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 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.

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 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.

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 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.

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 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.

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 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