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

castai.OrganizationGroup

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

    Create OrganizationGroup Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new OrganizationGroup(name: string, args: OrganizationGroupArgs, opts?: CustomResourceOptions);
    @overload
    def OrganizationGroup(resource_name: str,
                          args: OrganizationGroupArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def OrganizationGroup(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          organization_id: Optional[str] = None,
                          description: Optional[str] = None,
                          members: Optional[Sequence[_organization.OrganizationGroupMemberArgs]] = None,
                          name: Optional[str] = None)
    func NewOrganizationGroup(ctx *Context, name string, args OrganizationGroupArgs, opts ...ResourceOption) (*OrganizationGroup, error)
    public OrganizationGroup(string name, OrganizationGroupArgs args, CustomResourceOptions? opts = null)
    public OrganizationGroup(String name, OrganizationGroupArgs args)
    public OrganizationGroup(String name, OrganizationGroupArgs args, CustomResourceOptions options)
    
    type: castai:organization:OrganizationGroup
    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 OrganizationGroupArgs
    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 OrganizationGroupArgs
    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 OrganizationGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OrganizationGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OrganizationGroupArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    OrganizationGroup 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 OrganizationGroup resource accepts the following input properties:

    OrganizationId string
    CAST AI organization ID.
    Description string
    Description of the group.
    Members List<Pulumi.CastAI.Organization.Inputs.OrganizationGroupMember>
    Name string
    Name of the group.
    OrganizationId string
    CAST AI organization ID.
    Description string
    Description of the group.
    Members OrganizationGroupMemberArgs
    Name string
    Name of the group.
    organizationId String
    CAST AI organization ID.
    description String
    Description of the group.
    members List<OrganizationGroupMember>
    name String
    Name of the group.
    organizationId string
    CAST AI organization ID.
    description string
    Description of the group.
    members organizationOrganizationGroupMember[]
    name string
    Name of the group.
    organization_id str
    CAST AI organization ID.
    description str
    Description of the group.
    members Sequence[organization.OrganizationGroupMemberArgs]
    name str
    Name of the group.
    organizationId String
    CAST AI organization ID.
    description String
    Description of the group.
    members List<Property Map>
    name String
    Name of the group.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the OrganizationGroup 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 OrganizationGroup Resource

    Get an existing OrganizationGroup 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?: OrganizationGroupState, opts?: CustomResourceOptions): OrganizationGroup
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            members: Optional[Sequence[_organization.OrganizationGroupMemberArgs]] = None,
            name: Optional[str] = None,
            organization_id: Optional[str] = None) -> OrganizationGroup
    func GetOrganizationGroup(ctx *Context, name string, id IDInput, state *OrganizationGroupState, opts ...ResourceOption) (*OrganizationGroup, error)
    public static OrganizationGroup Get(string name, Input<string> id, OrganizationGroupState? state, CustomResourceOptions? opts = null)
    public static OrganizationGroup get(String name, Output<String> id, OrganizationGroupState state, CustomResourceOptions options)
    resources:  _:    type: castai:organization:OrganizationGroup    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:
    Description string
    Description of the group.
    Members List<Pulumi.CastAI.Organization.Inputs.OrganizationGroupMember>
    Name string
    Name of the group.
    OrganizationId string
    CAST AI organization ID.
    Description string
    Description of the group.
    Members OrganizationGroupMemberArgs
    Name string
    Name of the group.
    OrganizationId string
    CAST AI organization ID.
    description String
    Description of the group.
    members List<OrganizationGroupMember>
    name String
    Name of the group.
    organizationId String
    CAST AI organization ID.
    description string
    Description of the group.
    members organizationOrganizationGroupMember[]
    name string
    Name of the group.
    organizationId string
    CAST AI organization ID.
    description str
    Description of the group.
    members Sequence[organization.OrganizationGroupMemberArgs]
    name str
    Name of the group.
    organization_id str
    CAST AI organization ID.
    description String
    Description of the group.
    members List<Property Map>
    name String
    Name of the group.
    organizationId String
    CAST AI organization ID.

    Supporting Types

    OrganizationGroupMember, OrganizationGroupMemberArgs

    OrganizationGroupMemberMember, OrganizationGroupMemberMemberArgs

    Email string
    Id string
    Kind string
    Kind of the member. Supported values include: user, service_account.
    Email string
    Id string
    Kind string
    Kind of the member. Supported values include: user, service_account.
    email String
    id String
    kind String
    Kind of the member. Supported values include: user, service_account.
    email string
    id string
    kind string
    Kind of the member. Supported values include: user, service_account.
    email str
    id str
    kind str
    Kind of the member. Supported values include: user, service_account.
    email String
    id String
    kind String
    Kind of the member. Supported values include: user, service_account.

    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