Skip to content

[App Service] az functionapp create: Remove preview from Flex Consumption parameters - #32122

Merged
Xing Zhou (zhoxing-ms) merged 3 commits into
Azure:devfrom
khkh-ms:khkh-functionapp-remove-preview-from-flex
Sep 22, 2025
Merged

Xing Zhou (zhoxing-ms) merged 3 commits into
Azure:devfrom
khkh-ms:khkh-functionapp-remove-preview-from-flex

Conversation

@khkh-ms

Copy link
Copy Markdown
Contributor

Related command

functionapp list-flexconsumption-locations
functionapp runtime config
functionapp create

Description

Removed preview from function app flex consumption related parameters

Testing Guide
az functionapp create --resource-group <RESOURCE_GROUP> --name <APP_NAME> --storage-account <STORAGE_NAME> --flexconsumption-location --runtime python --runtime-version 3.11


This checklist is used to make sure that common guidelines for a pull request are followed.

@azure-client-tools-bot-prd

azure-client-tools-bot-prd Bot commented Sep 15, 2025 •

Copy link
Copy Markdown
🔄AzureCLI-FullTest
️✔️acr
️✔️latest
️✔️3.12
️✔️3.13
🔄acs
🔄latest
🔄3.12
️✔️3.13
️✔️advisor
️✔️latest
️✔️3.12
️✔️3.13
️✔️ams
️✔️latest
️✔️3.12
️✔️3.13
️✔️apim
️✔️latest
️✔️3.12
️✔️3.13
🔄appconfig
🔄latest
🔄3.12
️✔️3.13
️✔️appservice
️✔️latest
️✔️3.12
️✔️3.13
️✔️aro
️✔️latest
️✔️3.12
️✔️3.13
️✔️backup
️✔️latest
️✔️3.12
️✔️3.13
🔄batch
🔄latest
🔄3.12
️✔️3.13
️✔️batchai
️✔️latest
️✔️3.12
️✔️3.13
️✔️billing
️✔️latest
️✔️3.12
️✔️3.13
️✔️botservice
️✔️latest
️✔️3.12
️✔️3.13
️✔️cdn
️✔️latest
️✔️3.12
️✔️3.13
️✔️cloud
️✔️latest
️✔️3.12
️✔️3.13
🔄cognitiveservices
🔄latest
🔄3.12
🔄3.13
️✔️compute_recommender
️✔️latest
️✔️3.12
️✔️3.13
️✔️computefleet
️✔️latest
️✔️3.12
️✔️3.13
️✔️config
️✔️latest
️✔️3.12
️✔️3.13
️✔️configure
️✔️latest
️✔️3.12
️✔️3.13
🔄consumption
🔄latest
🔄3.12
🔄3.13
️✔️container
️✔️latest
️✔️3.12
️✔️3.13
️✔️containerapp
️✔️latest
️✔️3.12
️✔️3.13
️✔️core
️✔️latest
️✔️3.12
️✔️3.13
🔄cosmosdb
🔄latest
🔄3.12
️✔️3.13
️✔️databoxedge
️✔️latest
️✔️3.12
️✔️3.13
️✔️dls
️✔️latest
️✔️3.12
️✔️3.13
🔄dms
🔄latest
🔄3.12
🔄3.13
️✔️eventgrid
️✔️latest
️✔️3.12
️✔️3.13
️✔️eventhubs
️✔️latest
️✔️3.12
️✔️3.13
️✔️feedback
️✔️latest
️✔️3.12
️✔️3.13
️✔️find
️✔️latest
️✔️3.12
️✔️3.13
🔄hdinsight
🔄latest
🔄3.12
️✔️3.13
️✔️identity
️✔️latest
️✔️3.12
️✔️3.13
️✔️iot
️✔️latest
️✔️3.12
️✔️3.13
️✔️keyvault
️✔️latest
️✔️3.12
️✔️3.13
️✔️lab
️✔️latest
️✔️3.12
️✔️3.13
🔄managedservices
🔄latest
🔄3.12
️✔️3.13
🔄maps
🔄latest
🔄3.12
🔄3.13
️✔️marketplaceordering
️✔️latest
️✔️3.12
️✔️3.13
️✔️monitor
️✔️latest
️✔️3.12
️✔️3.13
️✔️mysql
️✔️latest
️✔️3.12
️✔️3.13
️✔️netappfiles
️✔️latest
️✔️3.12
️✔️3.13
️✔️network
️✔️latest
️✔️3.12
️✔️3.13
️✔️policyinsights
️✔️latest
️✔️3.12
️✔️3.13
🔄privatedns
🔄latest
🔄3.12
️✔️3.13
️✔️profile
️✔️latest
️✔️3.12
️✔️3.13
️✔️rdbms
️✔️latest
️✔️3.12
️✔️3.13
️✔️redis
️✔️latest
️✔️3.12
️✔️3.13
️✔️relay
️✔️latest
️✔️3.12
️✔️3.13
️✔️resource
️✔️latest
️✔️3.12
️✔️3.13
️✔️role
️✔️latest
️✔️3.12
️✔️3.13
️✔️search
️✔️latest
️✔️3.12
️✔️3.13
️✔️security
️✔️latest
️✔️3.12
️✔️3.13
🔄servicebus
🔄latest
🔄3.12
️✔️3.13
️✔️serviceconnector
️✔️latest
️✔️3.12
️✔️3.13
️✔️servicefabric
️✔️latest
️✔️3.12
️✔️3.13
️✔️signalr
️✔️latest
️✔️3.12
️✔️3.13
️✔️sql
️✔️latest
️✔️3.12
️✔️3.13
️✔️sqlvm
️✔️latest
️✔️3.12
️✔️3.13
🔄storage
🔄latest
🔄3.12
️✔️3.13
️✔️synapse
️✔️latest
️✔️3.12
️✔️3.13
🔄telemetry
🔄latest
🔄3.12
🔄3.13
️✔️util
️✔️latest
️✔️3.12
️✔️3.13
🔄vm
🔄latest
🔄3.12
🔄3.13

@azure-client-tools-bot-prd

azure-client-tools-bot-prd Bot commented Sep 15, 2025 •

Copy link
Copy Markdown
️✔️AzureCLI-BreakingChangeTest
️✔️Non Breaking Changes

@yonzhan

Copy link
Copy Markdown
Collaborator

Thank you for your contribution! We will review the pull request and get back to you soon.

@github-actions

Copy link
Copy Markdown

The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR.

Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions).
After that please run the following commands to enable git hooks:

pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes the preview status from various Azure Function App flex consumption related parameters by removing is_preview=True flags from argument definitions.

  • Removes preview flags from functionapp list-flexconsumption-locations command arguments
  • Removes preview flags from functionapp create command flex consumption parameters
  • Removes preview flags from functionapp runtime config and functionapp scale config related arguments

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

c.argument('memory', help="Required momory from 1.0 to 4.0 ending with Gi e.g. 1.0Gi, ", is_preview=True)
c.argument('workload_profile_name', help="The name of the workload profile to run the app on.")
c.argument('cpu', type=float, help="Required CPU in cores from 0.5 to 2.0.")
c.argument('memory', help="Required momory from 1.0 to 4.0 ending with Gi e.g. 1.0Gi, ")

Copilot AI Sep 15, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a spelling error in the help message: 'momory' should be 'memory'.

Suggested change
c.argument('memory', help="Required momory from 1.0 to 4.0 ending with Gi e.g. 1.0Gi, ")
c.argument('memory', help="Required memory from 1.0 to 4.0 ending with Gi e.g. 1.0Gi, ")

Copilot uses AI. Check for mistakes.
@khkh-ms Khuram Khan (khkh-ms) changed the title [App Service] az functionapp create: Remove preview functions [App Service] az functionapp create: Remove preview from Flex Consumption parameters Sep 15, 2025
@microsoft-github-policy-service microsoft-github-policy-service Bot added the Auto-Assign Auto assign by bot label Sep 15, 2025
@microsoft-github-policy-service microsoft-github-policy-service Bot added the Functions az functionapp label Sep 15, 2025
@khkh-ms Khuram Khan (khkh-ms) changed the title [App Service] az functionapp create: Remove preview from Flex Consumption parameters [App Service] az functionapp create: Remove preview from Flex Consumption parameters Sep 15, 2025
@yonzhan

Copy link
Copy Markdown
Collaborator

Please fix CI issues

@khkh-ms

Khuram Khan (khkh-ms) commented Sep 19, 2025 •

Copy link
Copy Markdown
Contributor Author

Hey Yong Zhang (@yonzhan), could you please run the build again? It's failing because of the title. I’ve updated it, but it didn’t trigger a new build.

@yonzhan

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 3 pipeline(s).

@zhoxing-ms
Xing Zhou (zhoxing-ms) merged commit b80331e into Azure:dev Sep 22, 2025
48 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Auto-Assign Auto assign by bot Functions az functionapp

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants