1. Packages
  2. CAST AI
  3. API Docs
  4. GkeClusterId
CAST AI v7.73.2 published on Wednesday, Oct 29, 2025 by CAST AI

castai.GkeClusterId

Get Started
castai logo
CAST AI v7.73.2 published on Wednesday, Oct 29, 2025 by CAST AI

    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
    ProjectId string
    GCP project id
    CastServiceAccount string
    Service account email in cast project
    ClientServiceAccount string
    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
    ProjectId string
    GCP project id
    CastServiceAccount string
    Service account email in cast project
    ClientServiceAccount string
    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
    projectId String
    GCP project id
    castServiceAccount String
    Service account email in cast project
    clientServiceAccount String
    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
    projectId string
    GCP project id
    castServiceAccount string
    Service account email in cast project
    clientServiceAccount string
    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_account str
    Service account email in cast project
    client_service_account str
    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
    projectId String
    GCP project id
    castServiceAccount String
    Service account email in cast project
    clientServiceAccount String
    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:

    ClusterToken string
    CAST.AI agent cluster token
    Id string
    The provider-assigned unique ID for this managed resource.
    ClusterToken string
    CAST.AI agent cluster token
    Id string
    The provider-assigned unique ID for this managed resource.
    clusterToken String
    CAST.AI agent cluster token
    id String
    The provider-assigned unique ID for this managed resource.
    clusterToken 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.
    clusterToken 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) -> GkeClusterId
    func 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.
    The following state arguments are supported:
    CastServiceAccount string
    Service account email in cast project
    ClientServiceAccount string
    Service account email in client project
    ClusterToken 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
    ProjectId string
    GCP project id
    CastServiceAccount string
    Service account email in cast project
    ClientServiceAccount string
    Service account email in client project
    ClusterToken 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
    ProjectId string
    GCP project id
    castServiceAccount String
    Service account email in cast project
    clientServiceAccount String
    Service account email in client project
    clusterToken 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
    projectId String
    GCP project id
    castServiceAccount string
    Service account email in cast project
    clientServiceAccount string
    Service account email in client project
    clusterToken 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
    projectId string
    GCP project id
    cast_service_account str
    Service account email in cast project
    client_service_account str
    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
    castServiceAccount String
    Service account email in cast project
    clientServiceAccount String
    Service account email in client project
    clusterToken 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
    projectId String
    GCP project id

    Package Details

    Repository
    castai castai/pulumi-castai
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the castai Terraform Provider.
    castai logo
    CAST AI v7.73.2 published on Wednesday, Oct 29, 2025 by CAST AI
      Meet Neo: Your AI Platform Teammate