AzureDevOpsDscNative.AzDoEnvironmentApproval.dsc.adaptedResource.json
|
{
"$schema": "https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json", "type": "AzureDevOpsDscNative/AzDoEnvironmentApproval", "kind": "resource", "version": "1.1.0", "capabilities": [ "set", "test", "get" ], "description": "DSC resource for managing Azure DevOps environment approval checks.", "author": "ZanattaMichael", "requireAdapter": "Microsoft.Adapter/PowerShell", "path": "AzureDevOpsDscNative.psd1", "schema": { "embedded": { "description": "DSC resource for managing Azure DevOps environment approval checks.", "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "AzureDevOpsDscNative/AzDoEnvironmentApproval", "properties": { "Ensure": { "type": "string", "enum": [ "Present", "Absent" ], "title": "Ensure", "description": "The Ensure property." }, "LookupResult": { "type": "object", "title": "LookupResult", "readOnly": true, "description": "The LookupResult property." }, "ProjectName": { "type": "string", "title": "ProjectName", "description": "The name of the Azure DevOps project. This property is mandatory and serves as a key property for the resource." }, "EnvironmentName": { "type": "string", "title": "EnvironmentName", "description": "The name of the pipeline environment. This is a key property." }, "Approvers": { "items": { "type": "string" }, "type": "array", "title": "Approvers", "description": "The Approvers property." }, "RequiredApproverCount": { "type": "integer", "title": "RequiredApproverCount", "description": "The minimum number of approvals required. Defaults to 1." }, "AllowApproverToSelf": { "type": "boolean", "title": "AllowApproverToSelf", "description": "Whether the user who triggered the pipeline can approve their own deployment. Defaults to $false." }, "TimeoutInMinutes": { "type": "integer", "title": "TimeoutInMinutes", "description": "How long the approval check waits before timing out. Defaults to 43200 (30 days)." }, "Instructions": { "type": "string", "title": "Instructions", "description": "Instructions shown to approvers. Optional." } }, "required": [ "ProjectName", "EnvironmentName", "Approvers" ], "type": "object", "additionalProperties": false } } } |