Muokkaa

Jaa


AzureAppConfigurationExport@10 - Azure App Configuration Export v10 task

Export key-values to task variables from Azure App Configuration.

Syntax

# Azure App Configuration Export v10
# Export key-values to task variables from Azure App Configuration.
- task: AzureAppConfigurationExport@10
  inputs:
    azureSubscription: # string. Alias: ConnectedServiceName. Required. Azure subscription. 
    AppConfigurationEndpoint: # string. Required. App Configuration Endpoint. 
    #SelectionMode: 'Default' # 'Default' | 'Snapshot'. Selection Mode. Default: Default.
    KeyFilter: '*' # string. Required when SelectionMode = Default. Key Filter. Default: *.
    #Label: # string. Optional. Use when SelectionMode = Default. Label. 
    #SnapshotName: # string. Required when SelectionMode = Snapshot. Snapshot name. 
    #TrimKeyPrefix: # string. Trim Key Prefix. 
    #SuppressWarningForOverriddenKeys: false # boolean. Suppress warning for overridden keys. Default: false.
    #TreatKeyVaultErrorsAsWarning: false # boolean. Treat key vault resolution errors as warnings. Default: false.

Inputs

azureSubscription - Azure subscription
Input alias: ConnectedServiceName. string. Required.

Select the Azure Subscription for the Azure App Configuration instance.


AppConfigurationEndpoint - App Configuration Endpoint
string. Required.

Provide the endpoint of an existing Azure App Configuration.


SelectionMode - Selection Mode
string. Allowed values: Default, Snapshot. Default value: Default.

Selection mode specifies how the key-values read from a configuration store are selected. The Default selection mode allows the use of key and label filters. The Snapshot selection mode allows key-values to be selected from a snapshot.


KeyFilter - Key Filter
string. Required when SelectionMode = Default. Default value: *.

The filter can be used to select what key-values are requested from Azure App Configuration. A value of * will select all key-values. Reference for key-values query.


Label - Label
string. Optional. Use when SelectionMode = Default.

Specifies which label should be used when selecting key-values from App Configuration. If no label is provided then key-values with the null label will be retrieved. The following characters are not allowed: , *.


SnapshotName - Snapshot name
string. Required when SelectionMode = Snapshot.

Specifies snapshot from which key-values should be retrieved in Azure App Configuration.


TrimKeyPrefix - Trim Key Prefix
string.

Specifies one or more prefixes that should be trimmed from App Configuration keys before setting them as variables. Multiple prefixes can be separated by a new-line character.


SuppressWarningForOverriddenKeys - Suppress warning for overridden keys
boolean. Default value: false.

Specifies whether or not to suppress the warning shown when existing keys are overridden.


TreatKeyVaultErrorsAsWarning - Treat key vault resolution errors as warnings
boolean. Default value: false.

Specifies whether to display key vault resolution errors as warning. By default, the task fails when encountering key vault resolution errors.


Task control options

All tasks have control options in addition to their task inputs. For more information, see Control options and common task properties.

Output variables

None.

Requirements

Requirement Description
Pipeline types YAML, Classic build, Classic release
Runs on Agent, DeploymentGroup
Demands None
Capabilities This task does not satisfy any demands for subsequent tasks in the job.
Command restrictions Any
Settable variables Any
Agent version 2.144.0 or greater
Task category Deploy