castai.GkeClusterId
Explore with Pulumi AI
GKE cluster resource allows connecting an existing GKE cluster to 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,
                 gke_cluster_id_id: Optional[str] = None,
                 name: Optional[str] = None,
                 timeouts: Optional[GkeClusterIdTimeoutsArgs] = 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: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.
Constructor example
The following reference example uses placeholder values for all input properties.
var gkeClusterIdResource = new Castai.GkeClusterId("gkeClusterIdResource", new()
{
    Location = "string",
    ProjectId = "string",
    CastServiceAccount = "string",
    ClientServiceAccount = "string",
    GkeClusterIdId = "string",
    Name = "string",
    Timeouts = new Castai.Inputs.GkeClusterIdTimeoutsArgs
    {
        Create = "string",
        Delete = "string",
        Update = "string",
    },
});
example, err := castai.NewGkeClusterId(ctx, "gkeClusterIdResource", &castai.GkeClusterIdArgs{
Location: pulumi.String("string"),
ProjectId: pulumi.String("string"),
CastServiceAccount: pulumi.String("string"),
ClientServiceAccount: pulumi.String("string"),
GkeClusterIdId: pulumi.String("string"),
Name: pulumi.String("string"),
Timeouts: &.GkeClusterIdTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var gkeClusterIdResource = new GkeClusterId("gkeClusterIdResource", GkeClusterIdArgs.builder()
    .location("string")
    .projectId("string")
    .castServiceAccount("string")
    .clientServiceAccount("string")
    .gkeClusterIdId("string")
    .name("string")
    .timeouts(GkeClusterIdTimeoutsArgs.builder()
        .create("string")
        .delete("string")
        .update("string")
        .build())
    .build());
gke_cluster_id_resource = castai.GkeClusterId("gkeClusterIdResource",
    location="string",
    project_id="string",
    cast_service_account="string",
    client_service_account="string",
    gke_cluster_id_id="string",
    name="string",
    timeouts={
        "create": "string",
        "delete": "string",
        "update": "string",
    })
const gkeClusterIdResource = new castai.GkeClusterId("gkeClusterIdResource", {
    location: "string",
    projectId: "string",
    castServiceAccount: "string",
    clientServiceAccount: "string",
    gkeClusterIdId: "string",
    name: "string",
    timeouts: {
        create: "string",
        "delete": "string",
        update: "string",
    },
});
type: castai:GkeClusterId
properties:
    castServiceAccount: string
    clientServiceAccount: string
    gkeClusterIdId: string
    location: string
    name: string
    projectId: string
    timeouts:
        create: string
        delete: string
        update: string
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
- CastService stringAccount 
- Service account email in cast project
- ClientService stringAccount 
- Service account email in client project
- GkeCluster stringId Id 
- The ID of this resource.
- Name string
- GKE cluster name
- Timeouts
GkeCluster Id Timeouts 
- Location string
- GCP cluster zone in case of zonal or region in case of regional cluster
- ProjectId string
- GCP project id
- CastService stringAccount 
- Service account email in cast project
- ClientService stringAccount 
- Service account email in client project
- GkeCluster stringId Id 
- The ID of this resource.
- Name string
- GKE cluster name
- Timeouts
GkeCluster Id Timeouts Args 
- location String
- GCP cluster zone in case of zonal or region in case of regional cluster
- projectId String
- GCP project id
- castService StringAccount 
- Service account email in cast project
- clientService StringAccount 
- Service account email in client project
- gkeCluster StringId Id 
- The ID of this resource.
- name String
- GKE cluster name
- timeouts
GkeCluster Id Timeouts 
- location string
- GCP cluster zone in case of zonal or region in case of regional cluster
- projectId string
- GCP project id
- castService stringAccount 
- Service account email in cast project
- clientService stringAccount 
- Service account email in client project
- gkeCluster stringId Id 
- The ID of this resource.
- name string
- GKE cluster name
- timeouts
GkeCluster Id Timeouts 
- 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
- gke_cluster_ strid_ id 
- The ID of this resource.
- name str
- GKE cluster name
- timeouts
GkeCluster Id Timeouts Args 
- location String
- GCP cluster zone in case of zonal or region in case of regional cluster
- projectId String
- GCP project id
- castService StringAccount 
- Service account email in cast project
- clientService StringAccount 
- Service account email in client project
- gkeCluster StringId Id 
- The ID of this resource.
- name String
- GKE cluster name
- timeouts Property Map
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,
        gke_cluster_id_id: Optional[str] = None,
        location: Optional[str] = None,
        name: Optional[str] = None,
        project_id: Optional[str] = None,
        timeouts: Optional[GkeClusterIdTimeoutsArgs] = 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: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.
- CastService stringAccount 
- Service account email in cast project
- ClientService stringAccount 
- Service account email in client project
- ClusterToken string
- CAST.AI agent cluster token
- GkeCluster stringId Id 
- The ID of this resource.
- 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
- Timeouts
GkeCluster Id Timeouts 
- CastService stringAccount 
- Service account email in cast project
- ClientService stringAccount 
- Service account email in client project
- ClusterToken string
- CAST.AI agent cluster token
- GkeCluster stringId Id 
- The ID of this resource.
- 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
- Timeouts
GkeCluster Id Timeouts Args 
- castService StringAccount 
- Service account email in cast project
- clientService StringAccount 
- Service account email in client project
- clusterToken String
- CAST.AI agent cluster token
- gkeCluster StringId Id 
- The ID of this resource.
- 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
- timeouts
GkeCluster Id Timeouts 
- castService stringAccount 
- Service account email in cast project
- clientService stringAccount 
- Service account email in client project
- clusterToken string
- CAST.AI agent cluster token
- gkeCluster stringId Id 
- The ID of this resource.
- 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
- timeouts
GkeCluster Id Timeouts 
- 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
- gke_cluster_ strid_ id 
- The ID of this resource.
- 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
- timeouts
GkeCluster Id Timeouts Args 
- castService StringAccount 
- Service account email in cast project
- clientService StringAccount 
- Service account email in client project
- clusterToken String
- CAST.AI agent cluster token
- gkeCluster StringId Id 
- The ID of this resource.
- 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
- timeouts Property Map
Supporting Types
GkeClusterIdTimeouts, GkeClusterIdTimeoutsArgs        
Package Details
- Repository
- castai castai/terraform-provider-castai
- License
- Notes
- This Pulumi package is based on the castaiTerraform Provider.