datadog.OrganizationSettings
Explore with Pulumi AI
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) {
// Manage Datadog Organization
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
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new OrganizationSettings(name: string, args?: OrganizationSettingsArgs, opts?: CustomResourceOptions);
@overload
def OrganizationSettings(resource_name: str,
args: Optional[OrganizationSettingsArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def OrganizationSettings(resource_name: str,
opts: Optional[ResourceOptions] = None,
name: Optional[str] = None,
security_contacts: Optional[Sequence[str]] = None,
settings: Optional[OrganizationSettingsSettingsArgs] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var organizationSettingsResource = new Datadog.OrganizationSettings("organizationSettingsResource", new()
{
Name = "string",
SecurityContacts = new[]
{
"string",
},
Settings = new Datadog.Inputs.OrganizationSettingsSettingsArgs
{
Saml = new Datadog.Inputs.OrganizationSettingsSettingsSamlArgs
{
Enabled = false,
},
SamlAutocreateUsersDomains = new Datadog.Inputs.OrganizationSettingsSettingsSamlAutocreateUsersDomainsArgs
{
Domains = new[]
{
"string",
},
Enabled = false,
},
SamlIdpInitiatedLogin = new Datadog.Inputs.OrganizationSettingsSettingsSamlIdpInitiatedLoginArgs
{
Enabled = false,
},
SamlStrictMode = new Datadog.Inputs.OrganizationSettingsSettingsSamlStrictModeArgs
{
Enabled = false,
},
PrivateWidgetShare = false,
SamlAutocreateAccessRole = "string",
SamlCanBeEnabled = false,
SamlIdpEndpoint = "string",
SamlIdpMetadataUploaded = false,
SamlLoginUrl = "string",
},
});
example, err := datadog.NewOrganizationSettings(ctx, "organizationSettingsResource", &datadog.OrganizationSettingsArgs{
Name: pulumi.String("string"),
SecurityContacts: pulumi.StringArray{
pulumi.String("string"),
},
Settings: &datadog.OrganizationSettingsSettingsArgs{
Saml: &datadog.OrganizationSettingsSettingsSamlArgs{
Enabled: pulumi.Bool(false),
},
SamlAutocreateUsersDomains: &datadog.OrganizationSettingsSettingsSamlAutocreateUsersDomainsArgs{
Domains: pulumi.StringArray{
pulumi.String("string"),
},
Enabled: pulumi.Bool(false),
},
SamlIdpInitiatedLogin: &datadog.OrganizationSettingsSettingsSamlIdpInitiatedLoginArgs{
Enabled: pulumi.Bool(false),
},
SamlStrictMode: &datadog.OrganizationSettingsSettingsSamlStrictModeArgs{
Enabled: pulumi.Bool(false),
},
PrivateWidgetShare: pulumi.Bool(false),
SamlAutocreateAccessRole: pulumi.String("string"),
SamlCanBeEnabled: pulumi.Bool(false),
SamlIdpEndpoint: pulumi.String("string"),
SamlIdpMetadataUploaded: pulumi.Bool(false),
SamlLoginUrl: pulumi.String("string"),
},
})
var organizationSettingsResource = new OrganizationSettings("organizationSettingsResource", OrganizationSettingsArgs.builder()
.name("string")
.securityContacts("string")
.settings(OrganizationSettingsSettingsArgs.builder()
.saml(OrganizationSettingsSettingsSamlArgs.builder()
.enabled(false)
.build())
.samlAutocreateUsersDomains(OrganizationSettingsSettingsSamlAutocreateUsersDomainsArgs.builder()
.domains("string")
.enabled(false)
.build())
.samlIdpInitiatedLogin(OrganizationSettingsSettingsSamlIdpInitiatedLoginArgs.builder()
.enabled(false)
.build())
.samlStrictMode(OrganizationSettingsSettingsSamlStrictModeArgs.builder()
.enabled(false)
.build())
.privateWidgetShare(false)
.samlAutocreateAccessRole("string")
.samlCanBeEnabled(false)
.samlIdpEndpoint("string")
.samlIdpMetadataUploaded(false)
.samlLoginUrl("string")
.build())
.build());
organization_settings_resource = datadog.OrganizationSettings("organizationSettingsResource",
name="string",
security_contacts=["string"],
settings={
"saml": {
"enabled": False,
},
"saml_autocreate_users_domains": {
"domains": ["string"],
"enabled": False,
},
"saml_idp_initiated_login": {
"enabled": False,
},
"saml_strict_mode": {
"enabled": False,
},
"private_widget_share": False,
"saml_autocreate_access_role": "string",
"saml_can_be_enabled": False,
"saml_idp_endpoint": "string",
"saml_idp_metadata_uploaded": False,
"saml_login_url": "string",
})
const organizationSettingsResource = new datadog.OrganizationSettings("organizationSettingsResource", {
name: "string",
securityContacts: ["string"],
settings: {
saml: {
enabled: false,
},
samlAutocreateUsersDomains: {
domains: ["string"],
enabled: false,
},
samlIdpInitiatedLogin: {
enabled: false,
},
samlStrictMode: {
enabled: false,
},
privateWidgetShare: false,
samlAutocreateAccessRole: "string",
samlCanBeEnabled: false,
samlIdpEndpoint: "string",
samlIdpMetadataUploaded: false,
samlLoginUrl: "string",
},
});
type: datadog:OrganizationSettings
properties:
name: string
securityContacts:
- string
settings:
privateWidgetShare: false
saml:
enabled: false
samlAutocreateAccessRole: string
samlAutocreateUsersDomains:
domains:
- string
enabled: false
samlCanBeEnabled: false
samlIdpEndpoint: string
samlIdpInitiatedLogin:
enabled: false
samlIdpMetadataUploaded: false
samlLoginUrl: string
samlStrictMode:
enabled: false
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The OrganizationSettings resource accepts the following input properties:
- Name string
- Name for Organization.
- Security
Contacts List<string> - List of emails used for security event notifications from the organization.
- Settings
Organization
Settings Settings - Organization settings
- Name string
- Name for Organization.
- Security
Contacts []string - List of emails used for security event notifications from the organization.
- Settings
Organization
Settings Settings Args - Organization settings
- name String
- Name for Organization.
- security
Contacts List<String> - List of emails used for security event notifications from the organization.
- settings
Organization
Settings Settings - Organization settings
- name string
- Name for Organization.
- security
Contacts string[] - List of emails used for security event notifications from the organization.
- settings
Organization
Settings Settings - Organization settings
- name str
- Name for Organization.
- security_
contacts Sequence[str] - List of emails used for security event notifications from the organization.
- settings
Organization
Settings Settings Args - Organization settings
- name String
- Name for Organization.
- security
Contacts List<String> - List of emails used for security event notifications from the 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.
- Public
Id 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.
- Public
Id 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.
- public
Id 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.
- public
Id 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.
- public
Id 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,
security_contacts: Optional[Sequence[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.
- Description string
- Description of the organization.
- Name string
- Name for Organization.
- Public
Id string - The
public_id
of the organization you are operating within. - Security
Contacts List<string> - List of emails used for security event notifications from the organization.
- Settings
Organization
Settings Settings - Organization settings
- Description string
- Description of the organization.
- Name string
- Name for Organization.
- Public
Id string - The
public_id
of the organization you are operating within. - Security
Contacts []string - List of emails used for security event notifications from the organization.
- Settings
Organization
Settings Settings Args - Organization settings
- description String
- Description of the organization.
- name String
- Name for Organization.
- public
Id String - The
public_id
of the organization you are operating within. - security
Contacts List<String> - List of emails used for security event notifications from the organization.
- settings
Organization
Settings Settings - Organization settings
- description string
- Description of the organization.
- name string
- Name for Organization.
- public
Id string - The
public_id
of the organization you are operating within. - security
Contacts string[] - List of emails used for security event notifications from the organization.
- settings
Organization
Settings Settings - 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. - security_
contacts Sequence[str] - List of emails used for security event notifications from the organization.
- settings
Organization
Settings Settings Args - Organization settings
- description String
- Description of the organization.
- name String
- Name for Organization.
- public
Id String - The
public_id
of the organization you are operating within. - security
Contacts List<String> - List of emails used for security event notifications from the organization.
- settings Property Map
- Organization settings
Supporting Types
OrganizationSettingsSettings, OrganizationSettingsSettingsArgs
- Saml
Organization
Settings Settings Saml - SAML properties
- Saml
Autocreate OrganizationUsers Domains Settings Settings Saml Autocreate Users Domains - List of domains where the SAML automated user creation is enabled.
- Saml
Idp OrganizationInitiated Login Settings Settings Saml Idp Initiated Login - Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
- Saml
Strict OrganizationMode Settings Settings Saml Strict Mode - Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML.
- bool
- Whether or not the organization users can share widgets outside of Datadog. Defaults to
false
. - 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
Defaults to"st"
. - 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 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
Organization
Settings Settings Saml - SAML properties
- Saml
Autocreate OrganizationUsers Domains Settings Settings Saml Autocreate Users Domains - List of domains where the SAML automated user creation is enabled.
- Saml
Idp OrganizationInitiated Login Settings Settings Saml Idp Initiated Login - Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
- Saml
Strict OrganizationMode Settings Settings Saml Strict Mode - Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML.
- bool
- Whether or not the organization users can share widgets outside of Datadog. Defaults to
false
. - 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
Defaults to"st"
. - 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 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
Organization
Settings Settings Saml - SAML properties
- saml
Autocreate OrganizationUsers Domains Settings Settings Saml Autocreate Users Domains - List of domains where the SAML automated user creation is enabled.
- saml
Idp OrganizationInitiated Login Settings Settings Saml Idp Initiated Login - Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
- saml
Strict OrganizationMode Settings Settings Saml Strict Mode - Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML.
- Boolean
- Whether or not the organization users can share widgets outside of Datadog. Defaults to
false
. - 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
Defaults to"st"
. - 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 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
Organization
Settings Settings Saml - SAML properties
- saml
Autocreate OrganizationUsers Domains Settings Settings Saml Autocreate Users Domains - List of domains where the SAML automated user creation is enabled.
- saml
Idp OrganizationInitiated Login Settings Settings Saml Idp Initiated Login - Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
- saml
Strict OrganizationMode Settings Settings Saml Strict Mode - Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML.
- boolean
- Whether or not the organization users can share widgets outside of Datadog. Defaults to
false
. - 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
Defaults to"st"
. - 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 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
Organization
Settings Settings Saml - SAML properties
- saml_
autocreate_ Organizationusers_ domains Settings Settings Saml Autocreate Users Domains - List of domains where the SAML automated user creation is enabled.
- saml_
idp_ Organizationinitiated_ login Settings Settings Saml Idp Initiated Login - Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
- saml_
strict_ Organizationmode Settings Settings Saml Strict Mode - Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML.
- bool
- Whether or not the organization users can share widgets outside of Datadog. Defaults to
false
. - 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
Defaults to"st"
. - 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_ 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 Property Map
- SAML properties
- saml
Autocreate Property MapUsers Domains - List of domains where the SAML automated user creation is enabled.
- saml
Idp Property MapInitiated Login - Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
- saml
Strict Property MapMode - Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML.
- Boolean
- Whether or not the organization users can share widgets outside of Datadog. Defaults to
false
. - 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
Defaults to"st"
. - 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 BooleanMetadata Uploaded - Whether or not a SAML identity provider metadata file was provided to the Datadog organization.
- saml
Login StringUrl - 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
OrganizationSettingsSettingsSamlIdpInitiatedLogin, OrganizationSettingsSettingsSamlIdpInitiatedLoginArgs
- Enabled bool
- Whether or not a SAML identity provider metadata file was provided to the Datadog organization. Defaults to
false
.
- Enabled bool
- Whether or not a SAML identity provider metadata file was provided to the Datadog organization. Defaults to
false
.
- enabled Boolean
- Whether or not a SAML identity provider metadata file was provided to the Datadog organization. Defaults to
false
.
- enabled boolean
- Whether or not a SAML identity provider metadata file was provided to the Datadog organization. Defaults to
false
.
- enabled bool
- Whether or not a SAML identity provider metadata file was provided to the Datadog organization. Defaults to
false
.
- enabled Boolean
- Whether or not a SAML identity provider metadata file was provided to the Datadog organization. Defaults to
false
.
OrganizationSettingsSettingsSamlStrictMode, OrganizationSettingsSettingsSamlStrictModeArgs
- Enabled bool
- Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML. Defaults to
false
.
- Enabled bool
- Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML. Defaults to
false
.
- enabled Boolean
- Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML. Defaults to
false
.
- enabled boolean
- Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML. Defaults to
false
.
- enabled bool
- Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML. Defaults to
false
.
- enabled Boolean
- Whether or not the SAML strict mode is enabled. If true, all users must log in with SAML. Defaults to
false
.
Import
$ pulumi import datadog:index/organizationSettings:OrganizationSettings organization 11111111-2222-3333-4444-555555555555
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Datadog pulumi/pulumi-datadog
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
datadog
Terraform Provider.