interface ReleaseDefinitionEnvironment {
    badgeUrl?: string;
    conditions?: Condition[];
    currentRelease?: ReleaseShallowReference;
    demands?: Demand[];
    deployPhases?: DeployPhase[];
    deployStep?: ReleaseDefinitionDeployStep;
    environmentOptions?: EnvironmentOptions;
    environmentTriggers?: EnvironmentTrigger[];
    executionPolicy?: EnvironmentExecutionPolicy;
    id?: number;
    name?: string;
    owner?: IdentityRef;
    postDeployApprovals?: ReleaseDefinitionApprovals;
    postDeploymentGates?: ReleaseDefinitionGatesStep;
    preDeployApprovals?: ReleaseDefinitionApprovals;
    preDeploymentGates?: ReleaseDefinitionGatesStep;
    processParameters?: ProcessParameters;
    properties?: any;
    queueId?: number;
    rank?: number;
    retentionPolicy?: EnvironmentRetentionPolicy;
    runOptions?: { [key: string]: string };
    schedules?: ReleaseSchedule[];
    variableGroups?: number[];
    variables?: { [key: string]: ConfigurationVariableValue };
}

Properties

badgeUrl?: string

Gets or sets the BadgeUrl. BadgeUrl will be used when Badge will be enabled in Release Definition Environment.

conditions?: Condition[]

Gets or sets the environment conditions.

currentRelease?: ReleaseShallowReference

Gets or sets the current release reference.

demands?: Demand[]

Gets or sets the demands.

deployPhases?: DeployPhase[]

Gets or sets the deploy phases of environment.

Gets or sets the deploystep.

environmentOptions?: EnvironmentOptions

Gets or sets the environment options.

environmentTriggers?: EnvironmentTrigger[]

Gets or sets the triggers on environment.

executionPolicy?: EnvironmentExecutionPolicy

Gets or sets the environment execution policy.

id?: number

Gets and sets the ID of the ReleaseDefinitionEnvironment.

name?: string

Gets and sets the name of the ReleaseDefinitionEnvironment.

owner?: IdentityRef

Gets and sets the Owner of the ReleaseDefinitionEnvironment.

postDeployApprovals?: ReleaseDefinitionApprovals

Gets or sets the post deployment approvals.

postDeploymentGates?: ReleaseDefinitionGatesStep

Gets or sets the post deployment gates.

preDeployApprovals?: ReleaseDefinitionApprovals

Gets or sets the pre deployment approvals.

preDeploymentGates?: ReleaseDefinitionGatesStep

Gets or sets the pre deployment gates.

processParameters?: ProcessParameters

Gets or sets the environment process parameters.

properties?: any

Gets or sets the properties on environment.

queueId?: number

Gets or sets the queue ID.

rank?: number

Gets and sets the rank of the ReleaseDefinitionEnvironment.

retentionPolicy?: EnvironmentRetentionPolicy

Gets or sets the environment retention policy.

runOptions?: { [key: string]: string }
schedules?: ReleaseSchedule[]

Gets or sets the schedules

variableGroups?: number[]

Gets or sets the variable groups.

variables?: { [key: string]: ConfigurationVariableValue }

Gets and sets the variables.