Datadog v4.18.1, May 23 23
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:
- 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 Args> Datadog API key.
- Application
Keys List<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
List<Child
Organization Setting Args> Organization settings
- Users
List<Child
Organization User Args> 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 Args> Datadog API key.
- application
Keys List<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
List<Child
Organization Setting Args> Organization settings
- users
List<Child
Organization User Args> 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 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
ChildOrganizationApplicationKey
ChildOrganizationSetting
- bool
- Saml
Autocreate stringAccess Role - Saml
Autocreate List<ChildUsers Domains Organization Setting Saml Autocreate Users Domain> - Saml
Can boolBe Enabled - Saml
Idp stringEndpoint - Saml
Idp List<ChildInitiated Logins Organization Setting Saml Idp Initiated Login> - Saml
Idp boolMetadata Uploaded - Saml
Login stringUrl - Saml
Strict List<ChildModes Organization Setting Saml Strict Mode> - Samls
List<Child
Organization Setting Saml>
- bool
- Saml
Autocreate stringAccess Role - Saml
Autocreate []ChildUsers Domains Organization Setting Saml Autocreate Users Domain - Saml
Can boolBe Enabled - Saml
Idp stringEndpoint - Saml
Idp []ChildInitiated Logins Organization Setting Saml Idp Initiated Login - Saml
Idp boolMetadata Uploaded - Saml
Login stringUrl - Saml
Strict []ChildModes Organization Setting Saml Strict Mode - Samls
[]Child
Organization Setting Saml
- Boolean
- saml
Autocreate StringAccess Role - saml
Autocreate List<ChildUsers Domains Organization Setting Saml Autocreate Users Domain> - saml
Can BooleanBe Enabled - saml
Idp StringEndpoint - saml
Idp List<ChildInitiated Logins Organization Setting Saml Idp Initiated Login> - saml
Idp BooleanMetadata Uploaded - saml
Login StringUrl - saml
Strict List<ChildModes Organization Setting Saml Strict Mode> - samls
List<Child
Organization Setting Saml>
- boolean
- saml
Autocreate stringAccess Role - saml
Autocreate ChildUsers Domains Organization Setting Saml Autocreate Users Domain[] - saml
Can booleanBe Enabled - saml
Idp stringEndpoint - saml
Idp ChildInitiated Logins Organization Setting Saml Idp Initiated Login[] - saml
Idp booleanMetadata Uploaded - saml
Login stringUrl - saml
Strict ChildModes Organization Setting Saml Strict Mode[] - samls
Child
Organization Setting Saml[]
- bool
- saml_
autocreate_ straccess_ role - saml_
autocreate_ Sequence[Childusers_ domains Organization Setting Saml Autocreate Users Domain] - saml_
can_ boolbe_ enabled - saml_
idp_ strendpoint - saml_
idp_ Sequence[Childinitiated_ logins Organization Setting Saml Idp Initiated Login] - saml_
idp_ boolmetadata_ uploaded - saml_
login_ strurl - saml_
strict_ Sequence[Childmodes Organization Setting Saml Strict Mode] - samls
Sequence[Child
Organization Setting Saml]
ChildOrganizationSettingSaml
- Enabled bool
- Enabled bool
- enabled Boolean
- enabled boolean
- enabled bool
- enabled Boolean
ChildOrganizationSettingSamlAutocreateUsersDomain
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
- Access
Role string - Email string
- Name string
Name for Child Organization after creation.
- Access
Role string - Email string
- Name string
Name for Child Organization after creation.
- access
Role String - email String
- name String
Name for Child Organization after creation.
- access
Role string - email string
- name string
Name for Child Organization after creation.
- access_
role str - email str
- name str
Name for Child Organization after creation.
- access
Role 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.