Viewing docs for CAST AI v8.60.0
published on Wednesday, Aug 19, 2026 by CAST AI
published on Wednesday, Aug 19, 2026 by CAST AI
Viewing docs for CAST AI v8.60.0
published on Wednesday, Aug 19, 2026 by CAST AI
published on Wednesday, Aug 19, 2026 by CAST AI
Create EnterpriseServiceAccount Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EnterpriseServiceAccount(name: string, args: EnterpriseServiceAccountArgs, opts?: CustomResourceOptions);@overload
def EnterpriseServiceAccount(resource_name: str,
args: EnterpriseServiceAccountArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EnterpriseServiceAccount(resource_name: str,
opts: Optional[ResourceOptions] = None,
enterprise_id: Optional[str] = None,
description: Optional[str] = None,
name: Optional[str] = None,
organization_id: Optional[str] = None)func NewEnterpriseServiceAccount(ctx *Context, name string, args EnterpriseServiceAccountArgs, opts ...ResourceOption) (*EnterpriseServiceAccount, error)public EnterpriseServiceAccount(string name, EnterpriseServiceAccountArgs args, CustomResourceOptions? opts = null)
public EnterpriseServiceAccount(String name, EnterpriseServiceAccountArgs args)
public EnterpriseServiceAccount(String name, EnterpriseServiceAccountArgs args, CustomResourceOptions options)
type: castai:organization:EnterpriseServiceAccount
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "castai_enterprise_service_account" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args EnterpriseServiceAccountArgs
- 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 EnterpriseServiceAccountArgs
- 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 EnterpriseServiceAccountArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EnterpriseServiceAccountArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EnterpriseServiceAccountArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
EnterpriseServiceAccount 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 EnterpriseServiceAccount resource accepts the following input properties:
- Enterprise
Id string - Enterprise organization ID.
- Description string
- Service account description.
- Name string
- Service account name.
- Organization
Id string - Target organization ID where the service account is created. Defaults to enterpriseId (enterprise scope) when omitted.
- Enterprise
Id string - Enterprise organization ID.
- Description string
- Service account description.
- Name string
- Service account name.
- Organization
Id string - Target organization ID where the service account is created. Defaults to enterpriseId (enterprise scope) when omitted.
- enterprise_
id string - Enterprise organization ID.
- description string
- Service account description.
- name string
- Service account name.
- organization_
id string - Target organization ID where the service account is created. Defaults to enterpriseId (enterprise scope) when omitted.
- enterprise
Id String - Enterprise organization ID.
- description String
- Service account description.
- name String
- Service account name.
- organization
Id String - Target organization ID where the service account is created. Defaults to enterpriseId (enterprise scope) when omitted.
- enterprise
Id string - Enterprise organization ID.
- description string
- Service account description.
- name string
- Service account name.
- organization
Id string - Target organization ID where the service account is created. Defaults to enterpriseId (enterprise scope) when omitted.
- enterprise_
id str - Enterprise organization ID.
- description str
- Service account description.
- name str
- Service account name.
- organization_
id str - Target organization ID where the service account is created. Defaults to enterpriseId (enterprise scope) when omitted.
- enterprise
Id String - Enterprise organization ID.
- description String
- Service account description.
- name String
- Service account name.
- organization
Id String - Target organization ID where the service account is created. Defaults to enterpriseId (enterprise scope) when omitted.
Outputs
All input properties are implicitly available as output properties. Additionally, the EnterpriseServiceAccount resource produces the following output properties:
Look up Existing EnterpriseServiceAccount Resource
Get an existing EnterpriseServiceAccount 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?: EnterpriseServiceAccountState, opts?: CustomResourceOptions): EnterpriseServiceAccount@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
email: Optional[str] = None,
enterprise_id: Optional[str] = None,
name: Optional[str] = None,
organization_id: Optional[str] = None) -> EnterpriseServiceAccountfunc GetEnterpriseServiceAccount(ctx *Context, name string, id IDInput, state *EnterpriseServiceAccountState, opts ...ResourceOption) (*EnterpriseServiceAccount, error)public static EnterpriseServiceAccount Get(string name, Input<string> id, EnterpriseServiceAccountState? state, CustomResourceOptions? opts = null)public static EnterpriseServiceAccount get(String name, Output<String> id, EnterpriseServiceAccountState state, CustomResourceOptions options)resources: _: type: castai:organization:EnterpriseServiceAccount get: id: ${id}import {
to = castai_enterprise_service_account.example
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.
- Description string
- Service account description.
- Email string
- Auto-generated service account email (read-only).
- Enterprise
Id string - Enterprise organization ID.
- Name string
- Service account name.
- Organization
Id string - Target organization ID where the service account is created. Defaults to enterpriseId (enterprise scope) when omitted.
- Description string
- Service account description.
- Email string
- Auto-generated service account email (read-only).
- Enterprise
Id string - Enterprise organization ID.
- Name string
- Service account name.
- Organization
Id string - Target organization ID where the service account is created. Defaults to enterpriseId (enterprise scope) when omitted.
- description string
- Service account description.
- email string
- Auto-generated service account email (read-only).
- enterprise_
id string - Enterprise organization ID.
- name string
- Service account name.
- organization_
id string - Target organization ID where the service account is created. Defaults to enterpriseId (enterprise scope) when omitted.
- description String
- Service account description.
- email String
- Auto-generated service account email (read-only).
- enterprise
Id String - Enterprise organization ID.
- name String
- Service account name.
- organization
Id String - Target organization ID where the service account is created. Defaults to enterpriseId (enterprise scope) when omitted.
- description string
- Service account description.
- email string
- Auto-generated service account email (read-only).
- enterprise
Id string - Enterprise organization ID.
- name string
- Service account name.
- organization
Id string - Target organization ID where the service account is created. Defaults to enterpriseId (enterprise scope) when omitted.
- description str
- Service account description.
- email str
- Auto-generated service account email (read-only).
- enterprise_
id str - Enterprise organization ID.
- name str
- Service account name.
- organization_
id str - Target organization ID where the service account is created. Defaults to enterpriseId (enterprise scope) when omitted.
- description String
- Service account description.
- email String
- Auto-generated service account email (read-only).
- enterprise
Id String - Enterprise organization ID.
- name String
- Service account name.
- organization
Id String - Target organization ID where the service account is created. Defaults to enterpriseId (enterprise scope) when omitted.
Package Details
- Repository
- castai castai/pulumi-castai
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
castaiTerraform Provider.
Viewing docs for CAST AI v8.60.0
published on Wednesday, Aug 19, 2026 by CAST AI
published on Wednesday, Aug 19, 2026 by CAST AI