1. Packages
  2. Datadog
  3. API Docs
  4. ChildOrganization
Datadog v4.27.0 published on Thursday, Mar 14, 2024 by Pulumi

datadog.ChildOrganization

Explore with Pulumi AI

datadog logo
Datadog v4.27.0 published on Thursday, Mar 14, 2024 by Pulumi

    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) {
            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

    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<ChildOrganizationApiKey>
    Datadog API key.
    ApplicationKeys List<ChildOrganizationApplicationKey>
    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<ChildOrganizationSetting>
    Organization settings
    Users List<ChildOrganizationUser>
    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<ChildOrganizationApiKey>
    Datadog API key.
    applicationKeys List<ChildOrganizationApplicationKey>
    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<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.
    name string
    Name for Child Organization after creation.
    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[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, ChildOrganizationApiKeyArgs

    Key string
    API key.
    Name string
    Name of your API key.
    Key string
    API key.
    Name string
    Name of your API key.
    key String
    API key.
    name String
    Name of your API key.
    key string
    API key.
    name string
    Name of your API key.
    key str
    API key.
    name str
    Name of your API key.
    key String
    API key.
    name String
    Name of your API key.

    ChildOrganizationApplicationKey, ChildOrganizationApplicationKeyArgs

    Hash string
    Hash of an application key.
    Name string
    Name of an application key.
    Owner string
    Owner of an application key.
    Hash string
    Hash of an application key.
    Name string
    Name of an application key.
    Owner string
    Owner of an application key.
    hash String
    Hash of an application key.
    name String
    Name of an application key.
    owner String
    Owner of an application key.
    hash string
    Hash of an application key.
    name string
    Name of an application key.
    owner string
    Owner of an application key.
    hash str
    Hash of an application key.
    name str
    Name of an application key.
    owner str
    Owner of an application key.
    hash String
    Hash of an application key.
    name String
    Name of an application key.
    owner String
    Owner of an application key.

    ChildOrganizationSetting, ChildOrganizationSettingArgs

    PrivateWidgetShare bool
    Whether or not the organization users can share widgets outside of Datadog.
    SamlAutocreateAccessRole string
    The access role of the user. Options are st (standard user), adm (admin user), or ro (read-only user). Allowed enum values: st, adm , ro, ERROR
    SamlAutocreateUsersDomains List<ChildOrganizationSettingSamlAutocreateUsersDomain>
    List of domains where the SAML automated user creation is enabled.
    SamlCanBeEnabled bool
    Whether or not SAML can be enabled for this organization.
    SamlIdpEndpoint string
    Identity provider endpoint for SAML authentication.
    SamlIdpInitiatedLogins List<ChildOrganizationSettingSamlIdpInitiatedLogin>
    Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
    SamlIdpMetadataUploaded bool
    Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
    SamlLoginUrl string
    URL for SAML logging.
    SamlStrictModes List<ChildOrganizationSettingSamlStrictMode>
    Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML.
    Samls List<ChildOrganizationSettingSaml>
    SAML properties
    PrivateWidgetShare bool
    Whether or not the organization users can share widgets outside of Datadog.
    SamlAutocreateAccessRole string
    The access role of the user. Options are st (standard user), adm (admin user), or ro (read-only user). Allowed enum values: st, adm , ro, ERROR
    SamlAutocreateUsersDomains []ChildOrganizationSettingSamlAutocreateUsersDomain
    List of domains where the SAML automated user creation is enabled.
    SamlCanBeEnabled bool
    Whether or not SAML can be enabled for this organization.
    SamlIdpEndpoint string
    Identity provider endpoint for SAML authentication.
    SamlIdpInitiatedLogins []ChildOrganizationSettingSamlIdpInitiatedLogin
    Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
    SamlIdpMetadataUploaded bool
    Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
    SamlLoginUrl string
    URL for SAML logging.
    SamlStrictModes []ChildOrganizationSettingSamlStrictMode
    Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML.
    Samls []ChildOrganizationSettingSaml
    SAML properties
    privateWidgetShare Boolean
    Whether or not the organization users can share widgets outside of Datadog.
    samlAutocreateAccessRole String
    The access role of the user. Options are st (standard user), adm (admin user), or ro (read-only user). Allowed enum values: st, adm , ro, ERROR
    samlAutocreateUsersDomains List<ChildOrganizationSettingSamlAutocreateUsersDomain>
    List of domains where the SAML automated user creation is enabled.
    samlCanBeEnabled Boolean
    Whether or not SAML can be enabled for this organization.
    samlIdpEndpoint String
    Identity provider endpoint for SAML authentication.
    samlIdpInitiatedLogins List<ChildOrganizationSettingSamlIdpInitiatedLogin>
    Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
    samlIdpMetadataUploaded Boolean
    Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
    samlLoginUrl String
    URL for SAML logging.
    samlStrictModes List<ChildOrganizationSettingSamlStrictMode>
    Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML.
    samls List<ChildOrganizationSettingSaml>
    SAML properties
    privateWidgetShare boolean
    Whether or not the organization users can share widgets outside of Datadog.
    samlAutocreateAccessRole string
    The access role of the user. Options are st (standard user), adm (admin user), or ro (read-only user). Allowed enum values: st, adm , ro, ERROR
    samlAutocreateUsersDomains ChildOrganizationSettingSamlAutocreateUsersDomain[]
    List of domains where the SAML automated user creation is enabled.
    samlCanBeEnabled boolean
    Whether or not SAML can be enabled for this organization.
    samlIdpEndpoint string
    Identity provider endpoint for SAML authentication.
    samlIdpInitiatedLogins ChildOrganizationSettingSamlIdpInitiatedLogin[]
    Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
    samlIdpMetadataUploaded boolean
    Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
    samlLoginUrl string
    URL for SAML logging.
    samlStrictModes ChildOrganizationSettingSamlStrictMode[]
    Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML.
    samls ChildOrganizationSettingSaml[]
    SAML properties
    private_widget_share bool
    Whether or not the organization users can share widgets outside of Datadog.
    saml_autocreate_access_role str
    The access role of the user. Options are st (standard user), adm (admin user), or ro (read-only user). Allowed enum values: st, adm , ro, ERROR
    saml_autocreate_users_domains Sequence[ChildOrganizationSettingSamlAutocreateUsersDomain]
    List of domains where the SAML automated user creation is enabled.
    saml_can_be_enabled bool
    Whether or not SAML can be enabled for this organization.
    saml_idp_endpoint str
    Identity provider endpoint for SAML authentication.
    saml_idp_initiated_logins Sequence[ChildOrganizationSettingSamlIdpInitiatedLogin]
    Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
    saml_idp_metadata_uploaded bool
    Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
    saml_login_url str
    URL for SAML logging.
    saml_strict_modes Sequence[ChildOrganizationSettingSamlStrictMode]
    Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML.
    samls Sequence[ChildOrganizationSettingSaml]
    SAML properties
    privateWidgetShare Boolean
    Whether or not the organization users can share widgets outside of Datadog.
    samlAutocreateAccessRole String
    The access role of the user. Options are st (standard user), adm (admin user), or ro (read-only user). Allowed enum values: st, adm , ro, ERROR
    samlAutocreateUsersDomains List<Property Map>
    List of domains where the SAML automated user creation is enabled.
    samlCanBeEnabled Boolean
    Whether or not SAML can be enabled for this organization.
    samlIdpEndpoint String
    Identity provider endpoint for SAML authentication.
    samlIdpInitiatedLogins List<Property Map>
    Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
    samlIdpMetadataUploaded Boolean
    Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
    samlLoginUrl String
    URL for SAML logging.
    samlStrictModes List<Property Map>
    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

    Domains List<string>
    List of domains where the SAML automated user creation is enabled.
    Enabled bool
    Whether or not the automated user creation based on SAML domain is enabled.
    Domains []string
    List of domains where the SAML automated user creation is enabled.
    Enabled bool
    Whether or not the automated user creation based on SAML domain is enabled.
    domains List<String>
    List of domains where the SAML automated user creation is enabled.
    enabled Boolean
    Whether or not the automated user creation based on SAML domain is enabled.
    domains string[]
    List of domains where the SAML automated user creation is enabled.
    enabled boolean
    Whether or not the automated user creation based on SAML domain is enabled.
    domains Sequence[str]
    List of domains where the SAML automated user creation is enabled.
    enabled bool
    Whether or not the automated user creation based on SAML domain is enabled.
    domains List<String>
    List of domains where the SAML automated user creation is enabled.
    enabled Boolean
    Whether or not the automated user creation based on SAML domain is enabled.

    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

    AccessRole string
    The access role of the user. Options are st (standard user), adm (admin user), or ro (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.
    AccessRole string
    The access role of the user. Options are st (standard user), adm (admin user), or ro (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.
    accessRole String
    The access role of the user. Options are st (standard user), adm (admin user), or ro (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.
    accessRole string
    The access role of the user. Options are st (standard user), adm (admin user), or ro (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), or ro (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.
    accessRole String
    The access role of the user. Options are st (standard user), adm (admin user), or ro (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.
    datadog logo
    Datadog v4.27.0 published on Thursday, Mar 14, 2024 by Pulumi