CAST AI v7.73.2 published on Wednesday, Oct 29, 2025 by CAST AI
castai.GkeClusterId
Create GkeClusterId Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GkeClusterId(name: string, args: GkeClusterIdArgs, opts?: CustomResourceOptions);@overload
def GkeClusterId(resource_name: str,
args: GkeClusterIdArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GkeClusterId(resource_name: str,
opts: Optional[ResourceOptions] = None,
location: Optional[str] = None,
project_id: Optional[str] = None,
cast_service_account: Optional[str] = None,
client_service_account: Optional[str] = None,
name: Optional[str] = None)func NewGkeClusterId(ctx *Context, name string, args GkeClusterIdArgs, opts ...ResourceOption) (*GkeClusterId, error)public GkeClusterId(string name, GkeClusterIdArgs args, CustomResourceOptions? opts = null)
public GkeClusterId(String name, GkeClusterIdArgs args)
public GkeClusterId(String name, GkeClusterIdArgs args, CustomResourceOptions options)
type: castai:gcp:GkeClusterId
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args GkeClusterIdArgs
- 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 GkeClusterIdArgs
- 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 GkeClusterIdArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GkeClusterIdArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GkeClusterIdArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
GkeClusterId Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The GkeClusterId resource accepts the following input properties:
- Location string
- GCP cluster zone in case of zonal or region in case of regional cluster
- Project
Id string - GCP project id
- Cast
Service stringAccount - Service account email in cast project
- Client
Service stringAccount - Service account email in client project
- Name string
- GKE cluster name
- Location string
- GCP cluster zone in case of zonal or region in case of regional cluster
- Project
Id string - GCP project id
- Cast
Service stringAccount - Service account email in cast project
- Client
Service stringAccount - Service account email in client project
- Name string
- GKE cluster name
- location String
- GCP cluster zone in case of zonal or region in case of regional cluster
- project
Id String - GCP project id
- cast
Service StringAccount - Service account email in cast project
- client
Service StringAccount - Service account email in client project
- name String
- GKE cluster name
- location string
- GCP cluster zone in case of zonal or region in case of regional cluster
- project
Id string - GCP project id
- cast
Service stringAccount - Service account email in cast project
- client
Service stringAccount - Service account email in client project
- name string
- GKE cluster name
- location str
- GCP cluster zone in case of zonal or region in case of regional cluster
- project_
id str - GCP project id
- cast_
service_ straccount - Service account email in cast project
- client_
service_ straccount - Service account email in client project
- name str
- GKE cluster name
- location String
- GCP cluster zone in case of zonal or region in case of regional cluster
- project
Id String - GCP project id
- cast
Service StringAccount - Service account email in cast project
- client
Service StringAccount - Service account email in client project
- name String
- GKE cluster name
Outputs
All input properties are implicitly available as output properties. Additionally, the GkeClusterId resource produces the following output properties:
- Cluster
Token string - CAST.AI agent cluster token
- Id string
- The provider-assigned unique ID for this managed resource.
- Cluster
Token string - CAST.AI agent cluster token
- Id string
- The provider-assigned unique ID for this managed resource.
- cluster
Token String - CAST.AI agent cluster token
- id String
- The provider-assigned unique ID for this managed resource.
- cluster
Token string - CAST.AI agent cluster token
- id string
- The provider-assigned unique ID for this managed resource.
- cluster_
token str - CAST.AI agent cluster token
- id str
- The provider-assigned unique ID for this managed resource.
- cluster
Token String - CAST.AI agent cluster token
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing GkeClusterId Resource
Get an existing GkeClusterId resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: GkeClusterIdState, opts?: CustomResourceOptions): GkeClusterId@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cast_service_account: Optional[str] = None,
client_service_account: Optional[str] = None,
cluster_token: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
project_id: Optional[str] = None) -> GkeClusterIdfunc GetGkeClusterId(ctx *Context, name string, id IDInput, state *GkeClusterIdState, opts ...ResourceOption) (*GkeClusterId, error)public static GkeClusterId Get(string name, Input<string> id, GkeClusterIdState? state, CustomResourceOptions? opts = null)public static GkeClusterId get(String name, Output<String> id, GkeClusterIdState state, CustomResourceOptions options)resources: _: type: castai:gcp:GkeClusterId get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Cast
Service stringAccount - Service account email in cast project
- Client
Service stringAccount - Service account email in client project
- Cluster
Token string - CAST.AI agent cluster token
- Location string
- GCP cluster zone in case of zonal or region in case of regional cluster
- Name string
- GKE cluster name
- Project
Id string - GCP project id
- Cast
Service stringAccount - Service account email in cast project
- Client
Service stringAccount - Service account email in client project
- Cluster
Token string - CAST.AI agent cluster token
- Location string
- GCP cluster zone in case of zonal or region in case of regional cluster
- Name string
- GKE cluster name
- Project
Id string - GCP project id
- cast
Service StringAccount - Service account email in cast project
- client
Service StringAccount - Service account email in client project
- cluster
Token String - CAST.AI agent cluster token
- location String
- GCP cluster zone in case of zonal or region in case of regional cluster
- name String
- GKE cluster name
- project
Id String - GCP project id
- cast
Service stringAccount - Service account email in cast project
- client
Service stringAccount - Service account email in client project
- cluster
Token string - CAST.AI agent cluster token
- location string
- GCP cluster zone in case of zonal or region in case of regional cluster
- name string
- GKE cluster name
- project
Id string - GCP project id
- cast_
service_ straccount - Service account email in cast project
- client_
service_ straccount - Service account email in client project
- cluster_
token str - CAST.AI agent cluster token
- location str
- GCP cluster zone in case of zonal or region in case of regional cluster
- name str
- GKE cluster name
- project_
id str - GCP project id
- cast
Service StringAccount - Service account email in cast project
- client
Service StringAccount - Service account email in client project
- cluster
Token String - CAST.AI agent cluster token
- location String
- GCP cluster zone in case of zonal or region in case of regional cluster
- name String
- GKE cluster name
- project
Id String - GCP project id
Package Details
- Repository
- castai castai/pulumi-castai
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
castaiTerraform Provider.
