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

datadog.OrganizationSettings

Explore with Pulumi AI

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

    Provides a Datadog Organization resource. This can be used to manage your Datadog organization’s settings.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as datadog from "@pulumi/datadog";
    
    // Manage Datadog Organization
    const organization = new datadog.OrganizationSettings("organization", {name: "foo-organization"});
    
    import pulumi
    import pulumi_datadog as datadog
    
    # Manage Datadog Organization
    organization = datadog.OrganizationSettings("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 {
    		// Manage Datadog Organization
    		_, err := datadog.NewOrganizationSettings(ctx, "organization", &datadog.OrganizationSettingsArgs{
    			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(() => 
    {
        // Manage Datadog Organization
        var organization = new Datadog.OrganizationSettings("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.OrganizationSettings;
    import com.pulumi.datadog.OrganizationSettingsArgs;
    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 OrganizationSettings("organization", OrganizationSettingsArgs.builder()        
                .name("foo-organization")
                .build());
    
        }
    }
    
    resources:
      # Manage Datadog Organization
      organization:
        type: datadog:OrganizationSettings
        properties:
          name: foo-organization
    

    Create OrganizationSettings Resource

    new OrganizationSettings(name: string, args?: OrganizationSettingsArgs, opts?: CustomResourceOptions);
    @overload
    def OrganizationSettings(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             name: Optional[str] = None,
                             settings: Optional[OrganizationSettingsSettingsArgs] = None)
    @overload
    def OrganizationSettings(resource_name: str,
                             args: Optional[OrganizationSettingsArgs] = None,
                             opts: Optional[ResourceOptions] = None)
    func NewOrganizationSettings(ctx *Context, name string, args *OrganizationSettingsArgs, opts ...ResourceOption) (*OrganizationSettings, error)
    public OrganizationSettings(string name, OrganizationSettingsArgs? args = null, CustomResourceOptions? opts = null)
    public OrganizationSettings(String name, OrganizationSettingsArgs args)
    public OrganizationSettings(String name, OrganizationSettingsArgs args, CustomResourceOptions options)
    
    type: datadog:OrganizationSettings
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args OrganizationSettingsArgs
    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 OrganizationSettingsArgs
    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 OrganizationSettingsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OrganizationSettingsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OrganizationSettingsArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    OrganizationSettings 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 OrganizationSettings resource accepts the following input properties:

    Name string
    Name for Organization.
    Settings OrganizationSettingsSettings
    Organization settings
    Name string
    Name for Organization.
    Settings OrganizationSettingsSettingsArgs
    Organization settings
    name String
    Name for Organization.
    settings OrganizationSettingsSettings
    Organization settings
    name string
    Name for Organization.
    settings OrganizationSettingsSettings
    Organization settings
    name str
    Name for Organization.
    settings OrganizationSettingsSettingsArgs
    Organization settings
    name String
    Name for Organization.
    settings Property Map
    Organization settings

    Outputs

    All input properties are implicitly available as output properties. Additionally, the OrganizationSettings resource produces the following output properties:

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

    Look up Existing OrganizationSettings Resource

    Get an existing OrganizationSettings 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?: OrganizationSettingsState, opts?: CustomResourceOptions): OrganizationSettings
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            name: Optional[str] = None,
            public_id: Optional[str] = None,
            settings: Optional[OrganizationSettingsSettingsArgs] = None) -> OrganizationSettings
    func GetOrganizationSettings(ctx *Context, name string, id IDInput, state *OrganizationSettingsState, opts ...ResourceOption) (*OrganizationSettings, error)
    public static OrganizationSettings Get(string name, Input<string> id, OrganizationSettingsState? state, CustomResourceOptions? opts = null)
    public static OrganizationSettings get(String name, Output<String> id, OrganizationSettingsState 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:
    Description string
    Description of the organization.
    Name string
    Name for Organization.
    PublicId string
    The public_id of the organization you are operating within.
    Settings OrganizationSettingsSettings
    Organization settings
    Description string
    Description of the organization.
    Name string
    Name for Organization.
    PublicId string
    The public_id of the organization you are operating within.
    Settings OrganizationSettingsSettingsArgs
    Organization settings
    description String
    Description of the organization.
    name String
    Name for Organization.
    publicId String
    The public_id of the organization you are operating within.
    settings OrganizationSettingsSettings
    Organization settings
    description string
    Description of the organization.
    name string
    Name for Organization.
    publicId string
    The public_id of the organization you are operating within.
    settings OrganizationSettingsSettings
    Organization settings
    description str
    Description of the organization.
    name str
    Name for Organization.
    public_id str
    The public_id of the organization you are operating within.
    settings OrganizationSettingsSettingsArgs
    Organization settings
    description String
    Description of the organization.
    name String
    Name for Organization.
    publicId String
    The public_id of the organization you are operating within.
    settings Property Map
    Organization settings

    Supporting Types

    OrganizationSettingsSettings, OrganizationSettingsSettingsArgs

    Saml OrganizationSettingsSettingsSaml
    SAML properties
    SamlAutocreateUsersDomains OrganizationSettingsSettingsSamlAutocreateUsersDomains
    List of domains where the SAML automated user creation is enabled.
    SamlIdpInitiatedLogin OrganizationSettingsSettingsSamlIdpInitiatedLogin
    Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
    SamlStrictMode OrganizationSettingsSettingsSamlStrictMode
    Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML.
    PrivateWidgetShare bool
    Whether or not the organization users can share widgets outside of Datadog. Defaults to false.
    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 Defaults to "st".
    SamlCanBeEnabled bool
    Whether or not SAML can be enabled for this organization.
    SamlIdpEndpoint string
    Identity provider endpoint for SAML authentication.
    SamlIdpMetadataUploaded bool
    Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
    SamlLoginUrl string
    URL for SAML logging.
    Saml OrganizationSettingsSettingsSaml
    SAML properties
    SamlAutocreateUsersDomains OrganizationSettingsSettingsSamlAutocreateUsersDomains
    List of domains where the SAML automated user creation is enabled.
    SamlIdpInitiatedLogin OrganizationSettingsSettingsSamlIdpInitiatedLogin
    Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
    SamlStrictMode OrganizationSettingsSettingsSamlStrictMode
    Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML.
    PrivateWidgetShare bool
    Whether or not the organization users can share widgets outside of Datadog. Defaults to false.
    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 Defaults to "st".
    SamlCanBeEnabled bool
    Whether or not SAML can be enabled for this organization.
    SamlIdpEndpoint string
    Identity provider endpoint for SAML authentication.
    SamlIdpMetadataUploaded bool
    Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
    SamlLoginUrl string
    URL for SAML logging.
    saml OrganizationSettingsSettingsSaml
    SAML properties
    samlAutocreateUsersDomains OrganizationSettingsSettingsSamlAutocreateUsersDomains
    List of domains where the SAML automated user creation is enabled.
    samlIdpInitiatedLogin OrganizationSettingsSettingsSamlIdpInitiatedLogin
    Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
    samlStrictMode OrganizationSettingsSettingsSamlStrictMode
    Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML.
    privateWidgetShare Boolean
    Whether or not the organization users can share widgets outside of Datadog. Defaults to false.
    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 Defaults to "st".
    samlCanBeEnabled Boolean
    Whether or not SAML can be enabled for this organization.
    samlIdpEndpoint String
    Identity provider endpoint for SAML authentication.
    samlIdpMetadataUploaded Boolean
    Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
    samlLoginUrl String
    URL for SAML logging.
    saml OrganizationSettingsSettingsSaml
    SAML properties
    samlAutocreateUsersDomains OrganizationSettingsSettingsSamlAutocreateUsersDomains
    List of domains where the SAML automated user creation is enabled.
    samlIdpInitiatedLogin OrganizationSettingsSettingsSamlIdpInitiatedLogin
    Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
    samlStrictMode OrganizationSettingsSettingsSamlStrictMode
    Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML.
    privateWidgetShare boolean
    Whether or not the organization users can share widgets outside of Datadog. Defaults to false.
    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 Defaults to "st".
    samlCanBeEnabled boolean
    Whether or not SAML can be enabled for this organization.
    samlIdpEndpoint string
    Identity provider endpoint for SAML authentication.
    samlIdpMetadataUploaded boolean
    Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
    samlLoginUrl string
    URL for SAML logging.
    saml OrganizationSettingsSettingsSaml
    SAML properties
    saml_autocreate_users_domains OrganizationSettingsSettingsSamlAutocreateUsersDomains
    List of domains where the SAML automated user creation is enabled.
    saml_idp_initiated_login OrganizationSettingsSettingsSamlIdpInitiatedLogin
    Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
    saml_strict_mode OrganizationSettingsSettingsSamlStrictMode
    Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML.
    private_widget_share bool
    Whether or not the organization users can share widgets outside of Datadog. Defaults to false.
    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 Defaults to "st".
    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_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 Property Map
    SAML properties
    samlAutocreateUsersDomains Property Map
    List of domains where the SAML automated user creation is enabled.
    samlIdpInitiatedLogin Property Map
    Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
    samlStrictMode Property Map
    Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML.
    privateWidgetShare Boolean
    Whether or not the organization users can share widgets outside of Datadog. Defaults to false.
    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 Defaults to "st".
    samlCanBeEnabled Boolean
    Whether or not SAML can be enabled for this organization.
    samlIdpEndpoint String
    Identity provider endpoint for SAML authentication.
    samlIdpMetadataUploaded Boolean
    Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
    samlLoginUrl String
    URL for SAML logging.

    OrganizationSettingsSettingsSaml, OrganizationSettingsSettingsSamlArgs

    Enabled bool
    Whether or not SAML is enabled for this organization. Defaults to false.
    Enabled bool
    Whether or not SAML is enabled for this organization. Defaults to false.
    enabled Boolean
    Whether or not SAML is enabled for this organization. Defaults to false.
    enabled boolean
    Whether or not SAML is enabled for this organization. Defaults to false.
    enabled bool
    Whether or not SAML is enabled for this organization. Defaults to false.
    enabled Boolean
    Whether or not SAML is enabled for this organization. Defaults to false.

    OrganizationSettingsSettingsSamlAutocreateUsersDomains, OrganizationSettingsSettingsSamlAutocreateUsersDomainsArgs

    Domains List<string>
    List of domains where the SAML automated user creation is enabled.
    Enabled bool
    Whether or not SAML is enabled for this organization. Defaults to false.
    Domains []string
    List of domains where the SAML automated user creation is enabled.
    Enabled bool
    Whether or not SAML is enabled for this organization. Defaults to false.
    domains List<String>
    List of domains where the SAML automated user creation is enabled.
    enabled Boolean
    Whether or not SAML is enabled for this organization. Defaults to false.
    domains string[]
    List of domains where the SAML automated user creation is enabled.
    enabled boolean
    Whether or not SAML is enabled for this organization. Defaults to false.
    domains Sequence[str]
    List of domains where the SAML automated user creation is enabled.
    enabled bool
    Whether or not SAML is enabled for this organization. Defaults to false.
    domains List<String>
    List of domains where the SAML automated user creation is enabled.
    enabled Boolean
    Whether or not SAML is enabled for this organization. Defaults to false.

    OrganizationSettingsSettingsSamlIdpInitiatedLogin, OrganizationSettingsSettingsSamlIdpInitiatedLoginArgs

    Enabled bool
    Whether or not SAML is enabled for this organization. Defaults to false.
    Enabled bool
    Whether or not SAML is enabled for this organization. Defaults to false.
    enabled Boolean
    Whether or not SAML is enabled for this organization. Defaults to false.
    enabled boolean
    Whether or not SAML is enabled for this organization. Defaults to false.
    enabled bool
    Whether or not SAML is enabled for this organization. Defaults to false.
    enabled Boolean
    Whether or not SAML is enabled for this organization. Defaults to false.

    OrganizationSettingsSettingsSamlStrictMode, OrganizationSettingsSettingsSamlStrictModeArgs

    Enabled bool
    Whether or not SAML is enabled for this organization. Defaults to false.
    Enabled bool
    Whether or not SAML is enabled for this organization. Defaults to false.
    enabled Boolean
    Whether or not SAML is enabled for this organization. Defaults to false.
    enabled boolean
    Whether or not SAML is enabled for this organization. Defaults to false.
    enabled bool
    Whether or not SAML is enabled for this organization. Defaults to false.
    enabled Boolean
    Whether or not SAML is enabled for this organization. Defaults to false.

    Import

    $ pulumi import datadog:index/organizationSettings:OrganizationSettings organization 11111111-2222-3333-4444-555555555555
    

    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