1. Packages
  2. CrateDB
  3. API Docs
  4. Organization
CrateDB v0.2.3 published on Friday, Oct 18, 2024 by komminarlabs

cratedb.Organization

Explore with Pulumi AI

cratedb logo
CrateDB v0.2.3 published on Friday, Oct 18, 2024 by komminarlabs

    Creates and manages an organization.

    Create Organization Resource

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

    Constructor syntax

    new Organization(name: string, args?: OrganizationArgs, opts?: CustomResourceOptions);
    @overload
    def Organization(resource_name: str,
                     args: Optional[OrganizationArgs] = None,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def Organization(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     name: Optional[str] = None)
    func NewOrganization(ctx *Context, name string, args *OrganizationArgs, opts ...ResourceOption) (*Organization, error)
    public Organization(string name, OrganizationArgs? args = null, CustomResourceOptions? opts = null)
    public Organization(String name, OrganizationArgs args)
    public Organization(String name, OrganizationArgs args, CustomResourceOptions options)
    
    type: cratedb:Organization
    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 OrganizationArgs
    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 OrganizationArgs
    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 OrganizationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OrganizationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OrganizationArgs
    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 organizationResource = new CrateDB.Organization("organizationResource", new()
    {
        Name = "string",
    });
    
    example, err := cratedb.NewOrganization(ctx, "organizationResource", &cratedb.OrganizationArgs{
    	Name: pulumi.String("string"),
    })
    
    var organizationResource = new Organization("organizationResource", OrganizationArgs.builder()
        .name("string")
        .build());
    
    organization_resource = cratedb.Organization("organizationResource", name="string")
    
    const organizationResource = new cratedb.Organization("organizationResource", {name: "string"});
    
    type: cratedb:Organization
    properties:
        name: string
    

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

    Name string
    The name of the organization.
    Name string
    The name of the organization.
    name String
    The name of the organization.
    name string
    The name of the organization.
    name str
    The name of the organization.
    name String
    The name of the organization.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Organization resource produces the following output properties:

    Dc KomminarLabs.CrateDB.Outputs.OrganizationDc
    The DublinCore of the organization.
    Email string
    The notification email used in the organization.
    Id string
    The provider-assigned unique ID for this managed resource.
    NotificationsEnabled bool
    Whether notifications enabled for the organization.
    PlanType double
    The support plan type used in the organization.
    ProjectCount double
    The project count in the organization.
    RoleFqn string
    The role FQN.
    Dc OrganizationDc
    The DublinCore of the organization.
    Email string
    The notification email used in the organization.
    Id string
    The provider-assigned unique ID for this managed resource.
    NotificationsEnabled bool
    Whether notifications enabled for the organization.
    PlanType float64
    The support plan type used in the organization.
    ProjectCount float64
    The project count in the organization.
    RoleFqn string
    The role FQN.
    dc OrganizationDc
    The DublinCore of the organization.
    email String
    The notification email used in the organization.
    id String
    The provider-assigned unique ID for this managed resource.
    notificationsEnabled Boolean
    Whether notifications enabled for the organization.
    planType Double
    The support plan type used in the organization.
    projectCount Double
    The project count in the organization.
    roleFqn String
    The role FQN.
    dc OrganizationDc
    The DublinCore of the organization.
    email string
    The notification email used in the organization.
    id string
    The provider-assigned unique ID for this managed resource.
    notificationsEnabled boolean
    Whether notifications enabled for the organization.
    planType number
    The support plan type used in the organization.
    projectCount number
    The project count in the organization.
    roleFqn string
    The role FQN.
    dc OrganizationDc
    The DublinCore of the organization.
    email str
    The notification email used in the organization.
    id str
    The provider-assigned unique ID for this managed resource.
    notifications_enabled bool
    Whether notifications enabled for the organization.
    plan_type float
    The support plan type used in the organization.
    project_count float
    The project count in the organization.
    role_fqn str
    The role FQN.
    dc Property Map
    The DublinCore of the organization.
    email String
    The notification email used in the organization.
    id String
    The provider-assigned unique ID for this managed resource.
    notificationsEnabled Boolean
    Whether notifications enabled for the organization.
    planType Number
    The support plan type used in the organization.
    projectCount Number
    The project count in the organization.
    roleFqn String
    The role FQN.

    Look up Existing Organization Resource

    Get an existing Organization 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?: OrganizationState, opts?: CustomResourceOptions): Organization
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            dc: Optional[OrganizationDcArgs] = None,
            email: Optional[str] = None,
            name: Optional[str] = None,
            notifications_enabled: Optional[bool] = None,
            plan_type: Optional[float] = None,
            project_count: Optional[float] = None,
            role_fqn: Optional[str] = None) -> Organization
    func GetOrganization(ctx *Context, name string, id IDInput, state *OrganizationState, opts ...ResourceOption) (*Organization, error)
    public static Organization Get(string name, Input<string> id, OrganizationState? state, CustomResourceOptions? opts = null)
    public static Organization get(String name, Output<String> id, OrganizationState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    Dc KomminarLabs.CrateDB.Inputs.OrganizationDc
    The DublinCore of the organization.
    Email string
    The notification email used in the organization.
    Name string
    The name of the organization.
    NotificationsEnabled bool
    Whether notifications enabled for the organization.
    PlanType double
    The support plan type used in the organization.
    ProjectCount double
    The project count in the organization.
    RoleFqn string
    The role FQN.
    Dc OrganizationDcArgs
    The DublinCore of the organization.
    Email string
    The notification email used in the organization.
    Name string
    The name of the organization.
    NotificationsEnabled bool
    Whether notifications enabled for the organization.
    PlanType float64
    The support plan type used in the organization.
    ProjectCount float64
    The project count in the organization.
    RoleFqn string
    The role FQN.
    dc OrganizationDc
    The DublinCore of the organization.
    email String
    The notification email used in the organization.
    name String
    The name of the organization.
    notificationsEnabled Boolean
    Whether notifications enabled for the organization.
    planType Double
    The support plan type used in the organization.
    projectCount Double
    The project count in the organization.
    roleFqn String
    The role FQN.
    dc OrganizationDc
    The DublinCore of the organization.
    email string
    The notification email used in the organization.
    name string
    The name of the organization.
    notificationsEnabled boolean
    Whether notifications enabled for the organization.
    planType number
    The support plan type used in the organization.
    projectCount number
    The project count in the organization.
    roleFqn string
    The role FQN.
    dc OrganizationDcArgs
    The DublinCore of the organization.
    email str
    The notification email used in the organization.
    name str
    The name of the organization.
    notifications_enabled bool
    Whether notifications enabled for the organization.
    plan_type float
    The support plan type used in the organization.
    project_count float
    The project count in the organization.
    role_fqn str
    The role FQN.
    dc Property Map
    The DublinCore of the organization.
    email String
    The notification email used in the organization.
    name String
    The name of the organization.
    notificationsEnabled Boolean
    Whether notifications enabled for the organization.
    planType Number
    The support plan type used in the organization.
    projectCount Number
    The project count in the organization.
    roleFqn String
    The role FQN.

    Supporting Types

    OrganizationDc, OrganizationDcArgs

    Created string
    The created time.
    Modified string
    The modified time.
    Created string
    The created time.
    Modified string
    The modified time.
    created String
    The created time.
    modified String
    The modified time.
    created string
    The created time.
    modified string
    The modified time.
    created str
    The created time.
    modified str
    The modified time.
    created String
    The created time.
    modified String
    The modified time.

    Package Details

    Repository
    cratedb komminarlabs/pulumi-cratedb
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cratedb Terraform Provider.
    cratedb logo
    CrateDB v0.2.3 published on Friday, Oct 18, 2024 by komminarlabs