Optional requestFactory: DeploymentGatesApiRequestFactoryOptional responseProcessor: DeploymentGatesApiResponseProcessorPrivate configurationPrivate requestPrivate responseThe request object
Optional options: ConfigurationEndpoint to create a deployment rule. A gate for the rule must already exist.
The request object
Optional options: ConfigurationEndpoint to delete a deployment gate. Rules associated with the gate are also deleted.
The request object
Optional options: ConfigurationEndpoint to delete a deployment rule.
The request object
Optional options: ConfigurationEndpoint to get a deployment gate.
The request object
Optional options: ConfigurationEndpoint to get rules for a deployment gate.
The request object
Optional options: ConfigurationRetrieves the result of a deployment gate evaluation by its evaluation ID.
If the evaluation is still in progress, data.attributes.gate_status will be in_progress;
continue polling until it returns pass or fail.
Polling every 10-20 seconds is recommended.
The endpoint may return a 404 if called too soon after triggering; retry after a few seconds.
The request object
Optional options: ConfigurationEndpoint to get a deployment rule.
The request object
Optional options: ConfigurationReturns a paginated list of all deployment gates for the organization.
Use page[cursor] and page[size] query parameters to paginate through results.
The request object
Optional options: ConfigurationTriggers an asynchronous deployment gate evaluation for the given service and environment.
Returns an evaluation ID that can be used to poll for the result via the
GET /api/v2/deployments/gates/evaluation/{id} endpoint.
When the configuration attribute is provided, rules are evaluated inline from that configuration
and no pre-configured gate is required. When configuration is omitted, rules are resolved from the
gate pre-configured for the given service and environment through the Datadog UI, API, or Terraform.
The request object
Optional options: ConfigurationEndpoint to update a deployment gate.
The request object
Optional options: ConfigurationEndpoint to update a deployment rule.
The request object
Optional options: ConfigurationGenerated using TypeDoc
Endpoint to create a deployment gate.