cratedb.Organization
Explore with Pulumi AI
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
Komminar
Labs. Crate DB. Outputs. Organization Dc - 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.
- Notifications
Enabled bool - Whether notifications enabled for the organization.
- Plan
Type double - The support plan type used in the organization.
- Project
Count double - The project count in the organization.
- Role
Fqn string - The role FQN.
- Dc
Organization
Dc - 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.
- Notifications
Enabled bool - Whether notifications enabled for the organization.
- Plan
Type float64 - The support plan type used in the organization.
- Project
Count float64 - The project count in the organization.
- Role
Fqn string - The role FQN.
- dc
Organization
Dc - 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.
- notifications
Enabled Boolean - Whether notifications enabled for the organization.
- plan
Type Double - The support plan type used in the organization.
- project
Count Double - The project count in the organization.
- role
Fqn String - The role FQN.
- dc
Organization
Dc - 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.
- notifications
Enabled boolean - Whether notifications enabled for the organization.
- plan
Type number - The support plan type used in the organization.
- project
Count number - The project count in the organization.
- role
Fqn string - The role FQN.
- dc
Organization
Dc - 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.
- notifications
Enabled Boolean - Whether notifications enabled for the organization.
- plan
Type Number - The support plan type used in the organization.
- project
Count Number - The project count in the organization.
- role
Fqn 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.
- Dc
Komminar
Labs. Crate DB. Inputs. Organization Dc - The DublinCore of the organization.
- Email string
- The notification email used in the organization.
- Name string
- The name of the organization.
- Notifications
Enabled bool - Whether notifications enabled for the organization.
- Plan
Type double - The support plan type used in the organization.
- Project
Count double - The project count in the organization.
- Role
Fqn string - The role FQN.
- Dc
Organization
Dc Args - The DublinCore of the organization.
- Email string
- The notification email used in the organization.
- Name string
- The name of the organization.
- Notifications
Enabled bool - Whether notifications enabled for the organization.
- Plan
Type float64 - The support plan type used in the organization.
- Project
Count float64 - The project count in the organization.
- Role
Fqn string - The role FQN.
- dc
Organization
Dc - The DublinCore of the organization.
- email String
- The notification email used in the organization.
- name String
- The name of the organization.
- notifications
Enabled Boolean - Whether notifications enabled for the organization.
- plan
Type Double - The support plan type used in the organization.
- project
Count Double - The project count in the organization.
- role
Fqn String - The role FQN.
- dc
Organization
Dc - The DublinCore of the organization.
- email string
- The notification email used in the organization.
- name string
- The name of the organization.
- notifications
Enabled boolean - Whether notifications enabled for the organization.
- plan
Type number - The support plan type used in the organization.
- project
Count number - The project count in the organization.
- role
Fqn string - The role FQN.
- dc
Organization
Dc Args - 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.
- notifications
Enabled Boolean - Whether notifications enabled for the organization.
- plan
Type Number - The support plan type used in the organization.
- project
Count Number - The project count in the organization.
- role
Fqn String - The role FQN.
Supporting Types
OrganizationDc, OrganizationDcArgs
Package Details
- Repository
- cratedb komminarlabs/pulumi-cratedb
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cratedb
Terraform Provider.