Attributes for updating an environment.

Hierarchy

  • UpdateEnvironmentAttributes

Constructors

Properties

additionalProperties?: {
    [key: string]: any;
}

A container for additional, undeclared properties. This is a holder for any undeclared properties as specified with the 'additionalProperties' keyword in the OAS document.

Type declaration

  • [key: string]: any
isProduction?: boolean

Indicates whether this is a production environment. If omitted, resets to false. Include the existing value to preserve it.

name?: string

The name of the environment. Required on every request and unique within the organization. Must contain 1 to 200 ASCII characters, start with a letter or digit, and contain only letters, digits, spaces, underscores, hyphens, and periods.

observeFullEvaluationData?: boolean

Controls whether feature flag evaluation events may include original targeting identifiers and full evaluation context. When true, SDKs may include this data. When false, SDKs hash targeting identifiers and omit evaluation context. If omitted, the existing value is preserved.

queries?: string[]

Required list of at least one exact DD_ENV value associated with this environment. Values cannot be used by another environment in the same organization. Wildcards and search expressions are not supported.

requireFeatureFlagApproval?: boolean

Indicates whether feature flag changes require approval in this environment. If omitted, resets to false. Include the existing value to preserve it.

subjectAuthorizationOidcProviderId?: string

The ID of a Custom OIDC provider, formatted as a nonzero UUID. If omitted, the stored association is preserved. Set to null to clear the association, which is allowed only when the resulting subject_authorization_state is disabled. A new non-null ID must be registered in the current organization and site, even when subject authorization is disabled. An unregistered ID returns 400 Bad Request, and an unavailable registry returns 503 Service Unavailable. Omitted, cleared, and unchanged IDs skip this check, including when you enable a retained provider. An ID that matches the stored ID in a different format, such as different letter case, is treated as unchanged. Saving does not verify provider eligibility or key publication.

subjectAuthorizationState?: EnvironmentSubjectAuthorizationState

Whether assignment requests for this environment require subject authorization. Allowed values are disabled and enabled. Enabling requires a provider ID formatted as a nonzero UUID. If omitted on create, defaults to disabled. If omitted on update, the stored state is preserved. null is not accepted. This setting applies only to the current Datadog site and is not copied to other sites. Before you enable it, configure an eligible Custom OIDC provider in the same organization and site, and verify that the provider's keys are published. Assignment requests fail when the required verification configuration is unavailable.

Generated using TypeDoc