datadog.ChildOrganization
Explore with Pulumi AI
Provides a Datadog Child Organization resource. This can be used to create Datadog Child Organizations. To manage created organization use datadog.OrganizationSettings
.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as datadog from "@pulumi/datadog";
// Create a new Datadog Child Organization
const organization = new datadog.ChildOrganization("organization", {name: "foo-organization"});
import pulumi
import pulumi_datadog as datadog
# Create a new Datadog Child Organization
organization = datadog.ChildOrganization("organization", name="foo-organization")
package main
import (
"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Create a new Datadog Child Organization
_, err := datadog.NewChildOrganization(ctx, "organization", &datadog.ChildOrganizationArgs{
Name: pulumi.String("foo-organization"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Datadog = Pulumi.Datadog;
return await Deployment.RunAsync(() =>
{
// Create a new Datadog Child Organization
var organization = new Datadog.ChildOrganization("organization", new()
{
Name = "foo-organization",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.datadog.ChildOrganization;
import com.pulumi.datadog.ChildOrganizationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
// Create a new Datadog Child Organization
var organization = new ChildOrganization("organization", ChildOrganizationArgs.builder()
.name("foo-organization")
.build());
}
}
resources:
# Create a new Datadog Child Organization
organization:
type: datadog:ChildOrganization
properties:
name: foo-organization
Create ChildOrganization Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ChildOrganization(name: string, args: ChildOrganizationArgs, opts?: CustomResourceOptions);
@overload
def ChildOrganization(resource_name: str,
args: ChildOrganizationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ChildOrganization(resource_name: str,
opts: Optional[ResourceOptions] = None,
name: Optional[str] = None)
func NewChildOrganization(ctx *Context, name string, args ChildOrganizationArgs, opts ...ResourceOption) (*ChildOrganization, error)
public ChildOrganization(string name, ChildOrganizationArgs args, CustomResourceOptions? opts = null)
public ChildOrganization(String name, ChildOrganizationArgs args)
public ChildOrganization(String name, ChildOrganizationArgs args, CustomResourceOptions options)
type: datadog:ChildOrganization
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 ChildOrganizationArgs
- 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 ChildOrganizationArgs
- 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 ChildOrganizationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ChildOrganizationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ChildOrganizationArgs
- 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 childOrganizationResource = new Datadog.ChildOrganization("childOrganizationResource", new()
{
Name = "string",
});
example, err := datadog.NewChildOrganization(ctx, "childOrganizationResource", &datadog.ChildOrganizationArgs{
Name: pulumi.String("string"),
})
var childOrganizationResource = new ChildOrganization("childOrganizationResource", ChildOrganizationArgs.builder()
.name("string")
.build());
child_organization_resource = datadog.ChildOrganization("childOrganizationResource", name="string")
const childOrganizationResource = new datadog.ChildOrganization("childOrganizationResource", {name: "string"});
type: datadog:ChildOrganization
properties:
name: string
ChildOrganization 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 ChildOrganization resource accepts the following input properties:
- Name string
- Name for Child Organization after creation.
- Name string
- Name for Child Organization after creation.
- name String
- Name for Child Organization after creation.
- name string
- Name for Child Organization after creation.
- name str
- Name for Child Organization after creation.
- name String
- Name for Child Organization after creation.
Outputs
All input properties are implicitly available as output properties. Additionally, the ChildOrganization resource produces the following output properties:
- Api
Keys List<ChildOrganization Api Key> - Datadog API key.
- Application
Keys List<ChildOrganization Application Key> - An application key with its associated metadata.
- Description string
- Description of the organization.
- Id string
- The provider-assigned unique ID for this managed resource.
- Public
Id string - The
public_id
of the organization you are operating within. - Settings
List<Child
Organization Setting> - Organization settings
- Users
List<Child
Organization User> - Information about a user
- Api
Keys []ChildOrganization Api Key - Datadog API key.
- Application
Keys []ChildOrganization Application Key - An application key with its associated metadata.
- Description string
- Description of the organization.
- Id string
- The provider-assigned unique ID for this managed resource.
- Public
Id string - The
public_id
of the organization you are operating within. - Settings
[]Child
Organization Setting - Organization settings
- Users
[]Child
Organization User - Information about a user
- api
Keys List<ChildOrganization Api Key> - Datadog API key.
- application
Keys List<ChildOrganization Application Key> - An application key with its associated metadata.
- description String
- Description of the organization.
- id String
- The provider-assigned unique ID for this managed resource.
- public
Id String - The
public_id
of the organization you are operating within. - settings
List<Child
Organization Setting> - Organization settings
- users
List<Child
Organization User> - Information about a user
- api
Keys ChildOrganization Api Key[] - Datadog API key.
- application
Keys ChildOrganization Application Key[] - An application key with its associated metadata.
- description string
- Description of the organization.
- id string
- The provider-assigned unique ID for this managed resource.
- public
Id string - The
public_id
of the organization you are operating within. - settings
Child
Organization Setting[] - Organization settings
- users
Child
Organization User[] - Information about a user
- api_
keys Sequence[ChildOrganization Api Key] - Datadog API key.
- application_
keys Sequence[ChildOrganization Application Key] - An application key with its associated metadata.
- description str
- Description of the organization.
- id str
- The provider-assigned unique ID for this managed resource.
- public_
id str - The
public_id
of the organization you are operating within. - settings
Sequence[Child
Organization Setting] - Organization settings
- users
Sequence[Child
Organization User] - Information about a user
- api
Keys List<Property Map> - Datadog API key.
- application
Keys List<Property Map> - An application key with its associated metadata.
- description String
- Description of the organization.
- id String
- The provider-assigned unique ID for this managed resource.
- public
Id String - The
public_id
of the organization you are operating within. - settings List<Property Map>
- Organization settings
- users List<Property Map>
- Information about a user
Look up Existing ChildOrganization Resource
Get an existing ChildOrganization 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?: ChildOrganizationState, opts?: CustomResourceOptions): ChildOrganization
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
api_keys: Optional[Sequence[ChildOrganizationApiKeyArgs]] = None,
application_keys: Optional[Sequence[ChildOrganizationApplicationKeyArgs]] = None,
description: Optional[str] = None,
name: Optional[str] = None,
public_id: Optional[str] = None,
settings: Optional[Sequence[ChildOrganizationSettingArgs]] = None,
users: Optional[Sequence[ChildOrganizationUserArgs]] = None) -> ChildOrganization
func GetChildOrganization(ctx *Context, name string, id IDInput, state *ChildOrganizationState, opts ...ResourceOption) (*ChildOrganization, error)
public static ChildOrganization Get(string name, Input<string> id, ChildOrganizationState? state, CustomResourceOptions? opts = null)
public static ChildOrganization get(String name, Output<String> id, ChildOrganizationState 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.
- Api
Keys List<ChildOrganization Api Key> - Datadog API key.
- Application
Keys List<ChildOrganization Application Key> - An application key with its associated metadata.
- Description string
- Description of the organization.
- Name string
- Name for Child Organization after creation.
- Public
Id string - The
public_id
of the organization you are operating within. - Settings
List<Child
Organization Setting> - Organization settings
- Users
List<Child
Organization User> - Information about a user
- Api
Keys []ChildOrganization Api Key Args - Datadog API key.
- Application
Keys []ChildOrganization Application Key Args - An application key with its associated metadata.
- Description string
- Description of the organization.
- Name string
- Name for Child Organization after creation.
- Public
Id string - The
public_id
of the organization you are operating within. - Settings
[]Child
Organization Setting Args - Organization settings
- Users
[]Child
Organization User Args - Information about a user
- api
Keys List<ChildOrganization Api Key> - Datadog API key.
- application
Keys List<ChildOrganization Application Key> - An application key with its associated metadata.
- description String
- Description of the organization.
- name String
- Name for Child Organization after creation.
- public
Id String - The
public_id
of the organization you are operating within. - settings
List<Child
Organization Setting> - Organization settings
- users
List<Child
Organization User> - Information about a user
- api
Keys ChildOrganization Api Key[] - Datadog API key.
- application
Keys ChildOrganization Application Key[] - An application key with its associated metadata.
- description string
- Description of the organization.
- name string
- Name for Child Organization after creation.
- public
Id string - The
public_id
of the organization you are operating within. - settings
Child
Organization Setting[] - Organization settings
- users
Child
Organization User[] - Information about a user
- api_
keys Sequence[ChildOrganization Api Key Args] - Datadog API key.
- application_
keys Sequence[ChildOrganization Application Key Args] - An application key with its associated metadata.
- description str
- Description of the organization.
- name str
- Name for Child Organization after creation.
- public_
id str - The
public_id
of the organization you are operating within. - settings
Sequence[Child
Organization Setting Args] - Organization settings
- users
Sequence[Child
Organization User Args] - Information about a user
- api
Keys List<Property Map> - Datadog API key.
- application
Keys List<Property Map> - An application key with its associated metadata.
- description String
- Description of the organization.
- name String
- Name for Child Organization after creation.
- public
Id String - The
public_id
of the organization you are operating within. - settings List<Property Map>
- Organization settings
- users List<Property Map>
- Information about a user
Supporting Types
ChildOrganizationApiKey, ChildOrganizationApiKeyArgs
ChildOrganizationApplicationKey, ChildOrganizationApplicationKeyArgs
ChildOrganizationSetting, ChildOrganizationSettingArgs
- bool
- Whether or not the organization users can share widgets outside of Datadog.
- Saml
Autocreate stringAccess Role - The access role of the user. Options are
st
(standard user),adm
(admin user), orro
(read-only user). Allowed enum values:st
,adm
,ro
,ERROR
- Saml
Autocreate List<ChildUsers Domains Organization Setting Saml Autocreate Users Domain> - List of domains where the SAML automated user creation is enabled.
- Saml
Can boolBe Enabled - Whether or not SAML can be enabled for this organization.
- Saml
Idp stringEndpoint - Identity provider endpoint for SAML authentication.
- Saml
Idp List<ChildInitiated Logins Organization Setting Saml Idp Initiated Login> - Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
- Saml
Idp boolMetadata Uploaded - Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
- Saml
Login stringUrl - URL for SAML logging.
- Saml
Strict List<ChildModes Organization Setting Saml Strict Mode> - Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML.
- Samls
List<Child
Organization Setting Saml> - SAML properties
- bool
- Whether or not the organization users can share widgets outside of Datadog.
- Saml
Autocreate stringAccess Role - The access role of the user. Options are
st
(standard user),adm
(admin user), orro
(read-only user). Allowed enum values:st
,adm
,ro
,ERROR
- Saml
Autocreate []ChildUsers Domains Organization Setting Saml Autocreate Users Domain - List of domains where the SAML automated user creation is enabled.
- Saml
Can boolBe Enabled - Whether or not SAML can be enabled for this organization.
- Saml
Idp stringEndpoint - Identity provider endpoint for SAML authentication.
- Saml
Idp []ChildInitiated Logins Organization Setting Saml Idp Initiated Login - Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
- Saml
Idp boolMetadata Uploaded - Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
- Saml
Login stringUrl - URL for SAML logging.
- Saml
Strict []ChildModes Organization Setting Saml Strict Mode - Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML.
- Samls
[]Child
Organization Setting Saml - SAML properties
- Boolean
- Whether or not the organization users can share widgets outside of Datadog.
- saml
Autocreate StringAccess Role - The access role of the user. Options are
st
(standard user),adm
(admin user), orro
(read-only user). Allowed enum values:st
,adm
,ro
,ERROR
- saml
Autocreate List<ChildUsers Domains Organization Setting Saml Autocreate Users Domain> - List of domains where the SAML automated user creation is enabled.
- saml
Can BooleanBe Enabled - Whether or not SAML can be enabled for this organization.
- saml
Idp StringEndpoint - Identity provider endpoint for SAML authentication.
- saml
Idp List<ChildInitiated Logins Organization Setting Saml Idp Initiated Login> - Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
- saml
Idp BooleanMetadata Uploaded - Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
- saml
Login StringUrl - URL for SAML logging.
- saml
Strict List<ChildModes Organization Setting Saml Strict Mode> - Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML.
- samls
List<Child
Organization Setting Saml> - SAML properties
- boolean
- Whether or not the organization users can share widgets outside of Datadog.
- saml
Autocreate stringAccess Role - The access role of the user. Options are
st
(standard user),adm
(admin user), orro
(read-only user). Allowed enum values:st
,adm
,ro
,ERROR
- saml
Autocreate ChildUsers Domains Organization Setting Saml Autocreate Users Domain[] - List of domains where the SAML automated user creation is enabled.
- saml
Can booleanBe Enabled - Whether or not SAML can be enabled for this organization.
- saml
Idp stringEndpoint - Identity provider endpoint for SAML authentication.
- saml
Idp ChildInitiated Logins Organization Setting Saml Idp Initiated Login[] - Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
- saml
Idp booleanMetadata Uploaded - Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
- saml
Login stringUrl - URL for SAML logging.
- saml
Strict ChildModes Organization Setting Saml Strict Mode[] - Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML.
- samls
Child
Organization Setting Saml[] - SAML properties
- bool
- Whether or not the organization users can share widgets outside of Datadog.
- saml_
autocreate_ straccess_ role - The access role of the user. Options are
st
(standard user),adm
(admin user), orro
(read-only user). Allowed enum values:st
,adm
,ro
,ERROR
- saml_
autocreate_ Sequence[Childusers_ domains Organization Setting Saml Autocreate Users Domain] - List of domains where the SAML automated user creation is enabled.
- saml_
can_ boolbe_ enabled - Whether or not SAML can be enabled for this organization.
- saml_
idp_ strendpoint - Identity provider endpoint for SAML authentication.
- saml_
idp_ Sequence[Childinitiated_ logins Organization Setting Saml Idp Initiated Login] - Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
- saml_
idp_ boolmetadata_ uploaded - Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
- saml_
login_ strurl - URL for SAML logging.
- saml_
strict_ Sequence[Childmodes Organization Setting Saml Strict Mode] - Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML.
- samls
Sequence[Child
Organization Setting Saml] - SAML properties
- Boolean
- Whether or not the organization users can share widgets outside of Datadog.
- saml
Autocreate StringAccess Role - The access role of the user. Options are
st
(standard user),adm
(admin user), orro
(read-only user). Allowed enum values:st
,adm
,ro
,ERROR
- saml
Autocreate List<Property Map>Users Domains - List of domains where the SAML automated user creation is enabled.
- saml
Can BooleanBe Enabled - Whether or not SAML can be enabled for this organization.
- saml
Idp StringEndpoint - Identity provider endpoint for SAML authentication.
- saml
Idp List<Property Map>Initiated Logins - Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
- saml
Idp BooleanMetadata Uploaded - Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
- saml
Login StringUrl - URL for SAML logging.
- saml
Strict List<Property Map>Modes - Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML.
- samls List<Property Map>
- SAML properties
ChildOrganizationSettingSaml, ChildOrganizationSettingSamlArgs
- Enabled bool
- Whether or not SAML is enabled for this organization.
- Enabled bool
- Whether or not SAML is enabled for this organization.
- enabled Boolean
- Whether or not SAML is enabled for this organization.
- enabled boolean
- Whether or not SAML is enabled for this organization.
- enabled bool
- Whether or not SAML is enabled for this organization.
- enabled Boolean
- Whether or not SAML is enabled for this organization.
ChildOrganizationSettingSamlAutocreateUsersDomain, ChildOrganizationSettingSamlAutocreateUsersDomainArgs
ChildOrganizationSettingSamlIdpInitiatedLogin, ChildOrganizationSettingSamlIdpInitiatedLoginArgs
- Enabled bool
- Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
- Enabled bool
- Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
- enabled Boolean
- Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
- enabled boolean
- Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
- enabled bool
- Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
- enabled Boolean
- Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
ChildOrganizationSettingSamlStrictMode, ChildOrganizationSettingSamlStrictModeArgs
- Enabled bool
- Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML.
- Enabled bool
- Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML.
- enabled Boolean
- Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML.
- enabled boolean
- Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML.
- enabled bool
- Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML.
- enabled Boolean
- Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML.
ChildOrganizationUser, ChildOrganizationUserArgs
- Access
Role string - The access role of the user. Options are
st
(standard user),adm
(admin user), orro
(read-only user). Allowed enum values:st
,adm
,ro
,ERROR
- Email string
- The new email of the user.
- Name string
- The name of the user.
- Access
Role string - The access role of the user. Options are
st
(standard user),adm
(admin user), orro
(read-only user). Allowed enum values:st
,adm
,ro
,ERROR
- Email string
- The new email of the user.
- Name string
- The name of the user.
- access
Role String - The access role of the user. Options are
st
(standard user),adm
(admin user), orro
(read-only user). Allowed enum values:st
,adm
,ro
,ERROR
- email String
- The new email of the user.
- name String
- The name of the user.
- access
Role string - The access role of the user. Options are
st
(standard user),adm
(admin user), orro
(read-only user). Allowed enum values:st
,adm
,ro
,ERROR
- email string
- The new email of the user.
- name string
- The name of the user.
- access_
role str - The access role of the user. Options are
st
(standard user),adm
(admin user), orro
(read-only user). Allowed enum values:st
,adm
,ro
,ERROR
- email str
- The new email of the user.
- name str
- The name of the user.
- access
Role String - The access role of the user. Options are
st
(standard user),adm
(admin user), orro
(read-only user). Allowed enum values:st
,adm
,ro
,ERROR
- email String
- The new email of the user.
- name String
- The name of the user.
Package Details
- Repository
- Datadog pulumi/pulumi-datadog
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
datadog
Terraform Provider.