Skip to content

Latest commit

 

History

History
39 lines (32 loc) · 2.21 KB

File metadata and controls

39 lines (32 loc) · 2.21 KB

ApprovalRequestSetting

Configuration that controls how changes to a resource are gated by approvals.

Properties

Name Type Description Notes
required boolean If approvals are required for this environment [default to undefined]
bypassApprovalsForPendingChanges boolean Whether to skip approvals for pending changes [default to undefined]
minNumApprovals number Sets the amount of approvals required before a member can apply a change. The minimum is one and the maximum is five. [default to undefined]
canReviewOwnRequest boolean Allow someone who makes an approval request to apply their own change [default to undefined]
canApplyDeclinedChanges boolean Allow applying the change as long as at least one person has approved [default to undefined]
autoApplyApprovedChanges boolean Automatically apply changes that have been approved by all reviewers. This field is only applicable for approval services other than LaunchDarkly. [optional] [default to undefined]
serviceKind string Which service to use for managing approvals [default to undefined]
serviceConfig { [key: string]: any; } Arbitrary service-specific configuration [default to undefined]
requiredApprovalTags Array<string> Require approval only on flags with the provided tags. Otherwise all flags will require approval. [default to undefined]
serviceKindConfigurationId string Optional integration configuration ID of a custom approval integration. This is an Enterprise-only feature. [optional] [default to undefined]

Example

import { ApprovalRequestSetting } from 'launchdarkly-api-typescript';

const instance: ApprovalRequestSetting = {
    required,
    bypassApprovalsForPendingChanges,
    minNumApprovals,
    canReviewOwnRequest,
    canApplyDeclinedChanges,
    autoApplyApprovedChanges,
    serviceKind,
    serviceConfig,
    requiredApprovalTags,
    serviceKindConfigurationId,
};

[Back to Model list] [Back to API list] [Back to README]