다음을 통해 공유


UpsertEnvironmentVariable Action

API responsible for creating or updating an environment variable.

Parameters

Parameters allow for data to be passed to the action.

Name Type Nullable Unicode Description
DisplayName
Edm.String True False

Display name of the environment variable (Optional).

SchemaName
Edm.String False False

Identifier of the environment variable. It's recommended to provide a human readable name with no special characters and a publisher prefix. Such requirements reduce the changes of collisions when multiple variables are present in an environment, in addition to providing easier maintenance in source control (Required).

Type
Edm.Int32 False True

Optionset value corresponding to the supported types of environment variables (Required). Supported types: [String, 100000000], [Integer, 100000001], [Boolean, 100000002], [JSON, 100000003], [Data Source, 100000004].

DefaultValue
Edm.String True False

Variable's default value (Optional).

Value
Edm.String True False

Actual value for the environment variable (Optional).

SecretStore
Edm.Int32 True True

The source where the secret value exists and referred by the environment variable. The default (and currently the only supported) value is '0', meaning KeyVault.

ParameterKey
Edm.String True False

Parameter key corresponding to the value (Optional).

ApiId
Edm.String True False

Logical name of the Connection Id backing the environment variable (Optional).

See also