New-AzContainerAppEnvironmentVarObject
Create an in-memory object for EnvironmentVar.
Syntax
New-AzContainerAppEnvironmentVarObject
[-Name <String>]
[-SecretRef <String>]
[-Value <String>]
[<CommonParameters>]
Description
Create an in-memory object for EnvironmentVar.
Examples
Example 1: Create an EnvironmentVar object for Env.
New-AzContainerAppEnvironmentVarObject -Name "envVarName" -SecretRef "redis-secret" -Value "value"
Name SecretRef Value
---- --------- -----
envVarName redis-secret value
Create an EnvironmentVar object for Env.
Parameters
-Name
Environment variable name.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SecretRef
Name of the Container App secret from which to pull the environment variable value.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Value
Non-secret environment variable value.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure PowerShell