CAST AI v7.73.2 published on Wednesday, Oct 29, 2025 by CAST AI
castai.EnterpriseGroup
Create EnterpriseGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EnterpriseGroup(name: string, args: EnterpriseGroupArgs, opts?: CustomResourceOptions);@overload
def EnterpriseGroup(resource_name: str,
args: EnterpriseGroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EnterpriseGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
enterprise_id: Optional[str] = None,
organization_id: Optional[str] = None,
description: Optional[str] = None,
members: Optional[Sequence[_organization.EnterpriseGroupMemberArgs]] = None,
name: Optional[str] = None,
role_bindings: Optional[Sequence[_organization.EnterpriseGroupRoleBindingArgs]] = None)func NewEnterpriseGroup(ctx *Context, name string, args EnterpriseGroupArgs, opts ...ResourceOption) (*EnterpriseGroup, error)public EnterpriseGroup(string name, EnterpriseGroupArgs args, CustomResourceOptions? opts = null)
public EnterpriseGroup(String name, EnterpriseGroupArgs args)
public EnterpriseGroup(String name, EnterpriseGroupArgs args, CustomResourceOptions options)
type: castai:organization:EnterpriseGroup
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 EnterpriseGroupArgs
- 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 EnterpriseGroupArgs
- 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 EnterpriseGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EnterpriseGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EnterpriseGroupArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
EnterpriseGroup 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 EnterpriseGroup resource accepts the following input properties:
- Enterprise
Id string - Enterprise organization ID.
- Organization
Id string - Target organization ID for the group.
- Description string
- Description of the group.
- Members
List<Pulumi.
Cast AI. Organization. Inputs. Enterprise Group Member> - List of group members.
- Name string
- Name of the group.
- Role
Bindings List<Pulumi.Cast AI. Organization. Inputs. Enterprise Group Role Binding> - List of role bindings for the group.
- Enterprise
Id string - Enterprise organization ID.
- Organization
Id string - Target organization ID for the group.
- Description string
- Description of the group.
- Members
Enterprise
Group Member Args - List of group members.
- Name string
- Name of the group.
- Role
Bindings EnterpriseGroup Role Binding Args - List of role bindings for the group.
- enterprise
Id String - Enterprise organization ID.
- organization
Id String - Target organization ID for the group.
- description String
- Description of the group.
- members
List<Enterprise
Group Member> - List of group members.
- name String
- Name of the group.
- role
Bindings List<EnterpriseGroup Role Binding> - List of role bindings for the group.
- enterprise
Id string - Enterprise organization ID.
- organization
Id string - Target organization ID for the group.
- description string
- Description of the group.
- members
organization
Enterprise Group Member[] - List of group members.
- name string
- Name of the group.
- role
Bindings organizationEnterprise Group Role Binding[] - List of role bindings for the group.
- enterprise_
id str - Enterprise organization ID.
- organization_
id str - Target organization ID for the group.
- description str
- Description of the group.
- members
Sequence[organization.
Enterprise Group Member Args] - List of group members.
- name str
- Name of the group.
- role_
bindings Sequence[organization.Enterprise Group Role Binding Args] - List of role bindings for the group.
- enterprise
Id String - Enterprise organization ID.
- organization
Id String - Target organization ID for the group.
- description String
- Description of the group.
- members List<Property Map>
- List of group members.
- name String
- Name of the group.
- role
Bindings List<Property Map> - List of role bindings for the group.
Outputs
All input properties are implicitly available as output properties. Additionally, the EnterpriseGroup resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing EnterpriseGroup Resource
Get an existing EnterpriseGroup 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?: EnterpriseGroupState, opts?: CustomResourceOptions): EnterpriseGroup@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
enterprise_id: Optional[str] = None,
members: Optional[Sequence[_organization.EnterpriseGroupMemberArgs]] = None,
name: Optional[str] = None,
organization_id: Optional[str] = None,
role_bindings: Optional[Sequence[_organization.EnterpriseGroupRoleBindingArgs]] = None) -> EnterpriseGroupfunc GetEnterpriseGroup(ctx *Context, name string, id IDInput, state *EnterpriseGroupState, opts ...ResourceOption) (*EnterpriseGroup, error)public static EnterpriseGroup Get(string name, Input<string> id, EnterpriseGroupState? state, CustomResourceOptions? opts = null)public static EnterpriseGroup get(String name, Output<String> id, EnterpriseGroupState state, CustomResourceOptions options)resources: _: type: castai:organization:EnterpriseGroup 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.
- Description string
- Description of the group.
- Enterprise
Id string - Enterprise organization ID.
- Members
List<Pulumi.
Cast AI. Organization. Inputs. Enterprise Group Member> - List of group members.
- Name string
- Name of the group.
- Organization
Id string - Target organization ID for the group.
- Role
Bindings List<Pulumi.Cast AI. Organization. Inputs. Enterprise Group Role Binding> - List of role bindings for the group.
- Description string
- Description of the group.
- Enterprise
Id string - Enterprise organization ID.
- Members
Enterprise
Group Member Args - List of group members.
- Name string
- Name of the group.
- Organization
Id string - Target organization ID for the group.
- Role
Bindings EnterpriseGroup Role Binding Args - List of role bindings for the group.
- description String
- Description of the group.
- enterprise
Id String - Enterprise organization ID.
- members
List<Enterprise
Group Member> - List of group members.
- name String
- Name of the group.
- organization
Id String - Target organization ID for the group.
- role
Bindings List<EnterpriseGroup Role Binding> - List of role bindings for the group.
- description string
- Description of the group.
- enterprise
Id string - Enterprise organization ID.
- members
organization
Enterprise Group Member[] - List of group members.
- name string
- Name of the group.
- organization
Id string - Target organization ID for the group.
- role
Bindings organizationEnterprise Group Role Binding[] - List of role bindings for the group.
- description str
- Description of the group.
- enterprise_
id str - Enterprise organization ID.
- members
Sequence[organization.
Enterprise Group Member Args] - List of group members.
- name str
- Name of the group.
- organization_
id str - Target organization ID for the group.
- role_
bindings Sequence[organization.Enterprise Group Role Binding Args] - List of role bindings for the group.
- description String
- Description of the group.
- enterprise
Id String - Enterprise organization ID.
- members List<Property Map>
- List of group members.
- name String
- Name of the group.
- organization
Id String - Target organization ID for the group.
- role
Bindings List<Property Map> - List of role bindings for the group.
Supporting Types
EnterpriseGroupMember, EnterpriseGroupMemberArgs
- Members
List<Pulumi.
Cast AI. Organization. Inputs. Enterprise Group Member Member> - Group member configuration.
- Members
Enterprise
Group Member Member - Group member configuration.
- members
List<Enterprise
Group Member Member> - Group member configuration.
- members
organization
Enterprise Group Member Member[] - Group member configuration.
- members
Sequence[organization.
Enterprise Group Member Member] - Group member configuration.
- members List<Property Map>
- Group member configuration.
EnterpriseGroupMemberMember, EnterpriseGroupMemberMemberArgs
EnterpriseGroupRoleBinding, EnterpriseGroupRoleBindingArgs
- Role
Bindings List<Pulumi.Cast AI. Organization. Inputs. Enterprise Group Role Binding Role Binding> - Role binding configuration.
- Role
Bindings EnterpriseGroup Role Binding Role Binding - Role binding configuration.
- role
Bindings List<EnterpriseGroup Role Binding Role Binding> - Role binding configuration.
- role
Bindings organizationEnterprise Group Role Binding Role Binding[] - Role binding configuration.
- role_
bindings Sequence[organization.Enterprise Group Role Binding Role Binding] - Role binding configuration.
- role
Bindings List<Property Map> - Role binding configuration.
EnterpriseGroupRoleBindingRoleBinding, EnterpriseGroupRoleBindingRoleBindingArgs
- Name string
- Role binding name.
- Role
Id string - Role UUID.
- Scopes
List<Pulumi.
Cast AI. Organization. Inputs. Enterprise Group Role Binding Role Binding Scope> - List of scopes for the role binding.
- Id string
- Role binding ID assigned by the API.
- Name string
- Role binding name.
- Role
Id string - Role UUID.
- Scopes
Enterprise
Group Role Binding Role Binding Scope - List of scopes for the role binding.
- Id string
- Role binding ID assigned by the API.
- name String
- Role binding name.
- role
Id String - Role UUID.
- scopes
List<Enterprise
Group Role Binding Role Binding Scope> - List of scopes for the role binding.
- id String
- Role binding ID assigned by the API.
- name string
- Role binding name.
- role
Id string - Role UUID.
- scopes
organization
Enterprise Group Role Binding Role Binding Scope[] - List of scopes for the role binding.
- id string
- Role binding ID assigned by the API.
- name str
- Role binding name.
- role_
id str - Role UUID.
- scopes
Sequence[organization.
Enterprise Group Role Binding Role Binding Scope] - List of scopes for the role binding.
- id str
- Role binding ID assigned by the API.
- name String
- Role binding name.
- role
Id String - Role UUID.
- scopes List<Property Map>
- List of scopes for the role binding.
- id String
- Role binding ID assigned by the API.
EnterpriseGroupRoleBindingRoleBindingScope, EnterpriseGroupRoleBindingRoleBindingScopeArgs
- Scopes
Enterprise
Group Role Binding Role Binding Scope Scope - Scope configuration.
- scopes
List<Enterprise
Group Role Binding Role Binding Scope Scope> - Scope configuration.
- scopes
organization
Enterprise Group Role Binding Role Binding Scope Scope[] - Scope configuration.
- scopes
Sequence[organization.
Enterprise Group Role Binding Role Binding Scope Scope] - Scope configuration.
- scopes List<Property Map>
- Scope configuration.
EnterpriseGroupRoleBindingRoleBindingScopeScope, EnterpriseGroupRoleBindingRoleBindingScopeScopeArgs
- Cluster string
- Cluster ID scope.
- Organization string
- Organization ID scope.
- Cluster string
- Cluster ID scope.
- Organization string
- Organization ID scope.
- cluster String
- Cluster ID scope.
- organization String
- Organization ID scope.
- cluster string
- Cluster ID scope.
- organization string
- Organization ID scope.
- cluster str
- Cluster ID scope.
- organization str
- Organization ID scope.
- cluster String
- Cluster ID scope.
- organization String
- Organization ID scope.
Package Details
- Repository
- castai castai/pulumi-castai
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
castaiTerraform Provider.
