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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.