datadog logo
Datadog v4.18.1, May 23 23

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

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 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 {
		_, err := datadog.NewChildOrganization(ctx, "organization", &datadog.ChildOrganizationArgs{
			Name: pulumi.String("foo-organization"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
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) {
        var organization = new ChildOrganization("organization", ChildOrganizationArgs.builder()        
            .name("foo-organization")
            .build());

    }
}
import pulumi
import pulumi_datadog as datadog

# Create a new Datadog Child Organization
organization = datadog.ChildOrganization("organization", name="foo-organization")
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"});
resources:
  # Create a new Datadog Child Organization
  organization:
    type: datadog:ChildOrganization
    properties:
      name: foo-organization

Create ChildOrganization Resource

new ChildOrganization(name: string, args: ChildOrganizationArgs, opts?: CustomResourceOptions);
@overload
def ChildOrganization(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      name: Optional[str] = None)
@overload
def ChildOrganization(resource_name: str,
                      args: ChildOrganizationArgs,
                      opts: Optional[ResourceOptions] = 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.

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.

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

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:

ApiKeys List<ChildOrganizationApiKey>

Datadog API key.

ApplicationKeys List<ChildOrganizationApplicationKey>

An application key with its associated metadata.

Description string

Description of the organization.

Id string

The provider-assigned unique ID for this managed resource.

PublicId string

The public_id of the organization you are operating within.

Settings List<ChildOrganizationSetting>

Organization settings

Users List<ChildOrganizationUser>

Information about a user

ApiKeys []ChildOrganizationApiKey

Datadog API key.

ApplicationKeys []ChildOrganizationApplicationKey

An application key with its associated metadata.

Description string

Description of the organization.

Id string

The provider-assigned unique ID for this managed resource.

PublicId string

The public_id of the organization you are operating within.

Settings []ChildOrganizationSetting

Organization settings

Users []ChildOrganizationUser

Information about a user

apiKeys List<ChildOrganizationApiKey>

Datadog API key.

applicationKeys List<ChildOrganizationApplicationKey>

An application key with its associated metadata.

description String

Description of the organization.

id String

The provider-assigned unique ID for this managed resource.

publicId String

The public_id of the organization you are operating within.

settings List<ChildOrganizationSetting>

Organization settings

users List<ChildOrganizationUser>

Information about a user

apiKeys ChildOrganizationApiKey[]

Datadog API key.

applicationKeys ChildOrganizationApplicationKey[]

An application key with its associated metadata.

description string

Description of the organization.

id string

The provider-assigned unique ID for this managed resource.

publicId string

The public_id of the organization you are operating within.

settings ChildOrganizationSetting[]

Organization settings

users ChildOrganizationUser[]

Information about a user

api_keys Sequence[ChildOrganizationApiKey]

Datadog API key.

application_keys Sequence[ChildOrganizationApplicationKey]

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[ChildOrganizationSetting]

Organization settings

users Sequence[ChildOrganizationUser]

Information about a user

apiKeys List<Property Map>

Datadog API key.

applicationKeys 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.

publicId 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.
The following state arguments are supported:
ApiKeys List<ChildOrganizationApiKeyArgs>

Datadog API key.

ApplicationKeys List<ChildOrganizationApplicationKeyArgs>

An application key with its associated metadata.

Description string

Description of the organization.

Name string

Name for Child Organization after creation.

PublicId string

The public_id of the organization you are operating within.

Settings List<ChildOrganizationSettingArgs>

Organization settings

Users List<ChildOrganizationUserArgs>

Information about a user

ApiKeys []ChildOrganizationApiKeyArgs

Datadog API key.

ApplicationKeys []ChildOrganizationApplicationKeyArgs

An application key with its associated metadata.

Description string

Description of the organization.

Name string

Name for Child Organization after creation.

PublicId string

The public_id of the organization you are operating within.

Settings []ChildOrganizationSettingArgs

Organization settings

Users []ChildOrganizationUserArgs

Information about a user

apiKeys List<ChildOrganizationApiKeyArgs>

Datadog API key.

applicationKeys List<ChildOrganizationApplicationKeyArgs>

An application key with its associated metadata.

description String

Description of the organization.

name String

Name for Child Organization after creation.

publicId String

The public_id of the organization you are operating within.

settings List<ChildOrganizationSettingArgs>

Organization settings

users List<ChildOrganizationUserArgs>

Information about a user

apiKeys ChildOrganizationApiKeyArgs[]

Datadog API key.

applicationKeys ChildOrganizationApplicationKeyArgs[]

An application key with its associated metadata.

description string

Description of the organization.

name string

Name for Child Organization after creation.

publicId string

The public_id of the organization you are operating within.

settings ChildOrganizationSettingArgs[]

Organization settings

users ChildOrganizationUserArgs[]

Information about a user

api_keys Sequence[ChildOrganizationApiKeyArgs]

Datadog API key.

application_keys Sequence[ChildOrganizationApplicationKeyArgs]

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[ChildOrganizationSettingArgs]

Organization settings

users Sequence[ChildOrganizationUserArgs]

Information about a user

apiKeys List<Property Map>

Datadog API key.

applicationKeys List<Property Map>

An application key with its associated metadata.

description String

Description of the organization.

name String

Name for Child Organization after creation.

publicId 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

Key string
Name string

Name for Child Organization after creation.

Key string
Name string

Name for Child Organization after creation.

key String
name String

Name for Child Organization after creation.

key string
name string

Name for Child Organization after creation.

key str
name str

Name for Child Organization after creation.

key String
name String

Name for Child Organization after creation.

ChildOrganizationApplicationKey

Hash string
Name string

Name for Child Organization after creation.

Owner string
Hash string
Name string

Name for Child Organization after creation.

Owner string
hash String
name String

Name for Child Organization after creation.

owner String
hash string
name string

Name for Child Organization after creation.

owner string
hash str
name str

Name for Child Organization after creation.

owner str
hash String
name String

Name for Child Organization after creation.

owner String

ChildOrganizationSetting

ChildOrganizationSettingSaml

Enabled bool
Enabled bool
enabled Boolean
enabled boolean
enabled bool
enabled Boolean

ChildOrganizationSettingSamlAutocreateUsersDomain

Domains List<string>
Enabled bool
Domains []string
Enabled bool
domains List<String>
enabled Boolean
domains string[]
enabled boolean
domains Sequence[str]
enabled bool
domains List<String>
enabled Boolean

ChildOrganizationSettingSamlIdpInitiatedLogin

Enabled bool
Enabled bool
enabled Boolean
enabled boolean
enabled bool
enabled Boolean

ChildOrganizationSettingSamlStrictMode

Enabled bool
Enabled bool
enabled Boolean
enabled boolean
enabled bool
enabled Boolean

ChildOrganizationUser

AccessRole string
Email string
Name string

Name for Child Organization after creation.

AccessRole string
Email string
Name string

Name for Child Organization after creation.

accessRole String
email String
name String

Name for Child Organization after creation.

accessRole string
email string
name string

Name for Child Organization after creation.

access_role str
email str
name str

Name for Child Organization after creation.

accessRole String
email String
name String

Name for Child Organization after creation.

Package Details

Repository
Datadog pulumi/pulumi-datadog
License
Apache-2.0
Notes

This Pulumi package is based on the datadog Terraform Provider.