Class: DatadogAPIClient::V2::CreateEnvironmentAttributes
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::CreateEnvironmentAttributes
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/create_environment_attributes.rb
Overview
Attributes for creating a new environment.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#is_production ⇒ Object
Indicates whether this is a production environment.
-
#name ⇒ Object
readonly
The name of the environment.
-
#observe_full_evaluation_data ⇒ Object
Controls whether feature flag evaluation events may include original targeting identifiers and full evaluation context.
-
#queries ⇒ Object
readonly
Required list of at least one exact DD_ENV value associated with this environment.
-
#require_feature_flag_approval ⇒ Object
Indicates whether feature flag changes require approval in this environment.
-
#subject_authorization_oidc_provider_id ⇒ Object
The ID of a Custom OIDC provider, formatted as a nonzero UUID.
-
#subject_authorization_state ⇒ Object
Whether assignment requests for this environment require subject authorization.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
45 46 47 |
# File 'lib/datadog_api_client/v2/models/create_environment_attributes.rb', line 45 def additional_properties @additional_properties end |
#is_production ⇒ Object
Indicates whether this is a production environment.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/create_environment_attributes.rb', line 25 def is_production @is_production end |
#name ⇒ Object
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.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/create_environment_attributes.rb', line 28 def name @name end |
#observe_full_evaluation_data ⇒ Object
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, defaults to false.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/create_environment_attributes.rb', line 31 def observe_full_evaluation_data @observe_full_evaluation_data end |
#queries ⇒ Object
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.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/create_environment_attributes.rb', line 34 def queries @queries end |
#require_feature_flag_approval ⇒ Object
Indicates whether feature flag changes require approval in this environment.
37 38 39 |
# File 'lib/datadog_api_client/v2/models/create_environment_attributes.rb', line 37 def require_feature_flag_approval @require_feature_flag_approval end |
#subject_authorization_oidc_provider_id ⇒ Object
The ID of a Custom OIDC provider, formatted as a nonzero UUID. Required when subject_authorization_state is enabled. If omitted or null, no provider is associated. A 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. Saving does not verify provider eligibility or key publication.
40 41 42 |
# File 'lib/datadog_api_client/v2/models/create_environment_attributes.rb', line 40 def @subject_authorization_oidc_provider_id end |
#subject_authorization_state ⇒ Object
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.
43 44 45 |
# File 'lib/datadog_api_client/v2/models/create_environment_attributes.rb', line 43 def @subject_authorization_state end |