1. Registry
  2. Packages
  3. CAST AI
  4. API Docs
  5. EnterpriseServiceAccount
Viewing docs for CAST AI v8.60.0
published on Wednesday, Aug 19, 2026 by CAST AI
castai logo
Viewing docs for CAST AI v8.60.0
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:

    EnterpriseId string
    Enterprise organization ID.
    Description string
    Service account description.
    Name string
    Service account name.
    OrganizationId string
    Target organization ID where the service account is created. Defaults to enterpriseId (enterprise scope) when omitted.
    EnterpriseId string
    Enterprise organization ID.
    Description string
    Service account description.
    Name string
    Service account name.
    OrganizationId 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.
    enterpriseId String
    Enterprise organization ID.
    description String
    Service account description.
    name String
    Service account name.
    organizationId String
    Target organization ID where the service account is created. Defaults to enterpriseId (enterprise scope) when omitted.
    enterpriseId string
    Enterprise organization ID.
    description string
    Service account description.
    name string
    Service account name.
    organizationId 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.
    enterpriseId String
    Enterprise organization ID.
    description String
    Service account description.
    name String
    Service account name.
    organizationId 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:

    Email string
    Auto-generated service account email (read-only).
    Id string
    The provider-assigned unique ID for this managed resource.
    Email string
    Auto-generated service account email (read-only).
    Id string
    The provider-assigned unique ID for this managed resource.
    email string
    Auto-generated service account email (read-only).
    id string
    The provider-assigned unique ID for this managed resource.
    email String
    Auto-generated service account email (read-only).
    id String
    The provider-assigned unique ID for this managed resource.
    email string
    Auto-generated service account email (read-only).
    id string
    The provider-assigned unique ID for this managed resource.
    email str
    Auto-generated service account email (read-only).
    id str
    The provider-assigned unique ID for this managed resource.
    email String
    Auto-generated service account email (read-only).
    id String
    The provider-assigned unique ID for this managed resource.

    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) -> EnterpriseServiceAccount
    func 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.
    The following state arguments are supported:
    Description string
    Service account description.
    Email string
    Auto-generated service account email (read-only).
    EnterpriseId string
    Enterprise organization ID.
    Name string
    Service account name.
    OrganizationId 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).
    EnterpriseId string
    Enterprise organization ID.
    Name string
    Service account name.
    OrganizationId 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).
    enterpriseId String
    Enterprise organization ID.
    name String
    Service account name.
    organizationId 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).
    enterpriseId string
    Enterprise organization ID.
    name string
    Service account name.
    organizationId 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).
    enterpriseId String
    Enterprise organization ID.
    name String
    Service account name.
    organizationId 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 castai Terraform Provider.
    castai logo
    Viewing docs for CAST AI v8.60.0
    published on Wednesday, Aug 19, 2026 by CAST AI

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial