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 deployment gate evaluations started in a maximum 30-day window (the default is the previous 24 hours). Results are ordered by start time, newest first. In-progress state is near-real-time and mutable. Finished state is eventually consistent.
The request object
Optional options: ConfigurationProvide a paginated version of listDeploymentGateEvaluations returning a generator with all the items.
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: ConfigurationReturns rule evaluations whose gate evaluation started in a maximum 30-day window (the default is the previous 24 hours). Filter by gate, rule, gate evaluation, or rule evaluation ID; omit IDs for cross-evaluation searches. Results are ordered by start time, newest first. In-progress state is near-real-time and mutable. Finished state is eventually consistent. Gate-level and rule-level dry-run states are independent. Pagination is deterministic but not snapshot isolated; clients should deduplicate by rule evaluation ID.
The request object
Optional options: ConfigurationProvide a paginated version of listDeploymentRuleEvaluations returning a generator with all the items.
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.