Skip to content

New-AzFunctionApp cmdlet should write a warning message when setting default values for parameters that are not provided #18192

@Francisco-Gamino

Description

@Francisco-Gamino

Description

New-AzFunctionApp cmdlet should write a warning message when setting default values for parameters that are not provided.

Previous verbose messages:

  1. RuntimeVersion not specified. Setting default runtime version for '$Runtime' to '$RuntimeVersion'

  2. FunctionsVersion not specified. Setting default FunctionsVersion to '$FunctionsVersion'

  3. OSType for $Runtime is '$OSType'

New warning messages:

  1. RuntimeVersion not specified. Setting default value to '< currentDefaultValue >'. This default value is subject to change over time. Please set this value explicitly to ensure the be behavior is not accidentally impacted by future changes.

  2. FunctionsVersion not specified. Setting default FunctionsVersion to '< currentDefaultValue >'. This default value is subject to change over time. Please set this value explicitly to ensure the be behavior is not accidentally impacted by future changes.

  3. OSType not specified. Setting default value to '< currentDefaultValue >'. This default value is subject to change over time. Please set this value explicitly to ensure the be behavior is not accidentally impacted by future changes.

Issue script & Debug output

N/A

Environment data

N/A

Module versions

N/A

Error output

N/A

Metadata

Metadata

Labels

FunctionsService AttentionThis issue is responsible by Azure service team.bugThis issue requires a change to an existing behavior in the product in order to be resolved.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions