-
Notifications
You must be signed in to change notification settings - Fork 3.4k
List all the App Service Slots for a given App Service Plan #23924
Copy link
Copy link
Open
Labels
Auto-AssignAuto assign by botAuto assign by botService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.Web Appsaz webappaz webappact-observability-squadapp-service-generalcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.feature-request
Milestone
Metadata
Metadata
Assignees
Labels
Auto-AssignAuto assign by botAuto assign by botService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.Web Appsaz webappaz webappact-observability-squadapp-service-generalcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.feature-request
Type
Fields
Give feedbackNo fields configured for issues without a type.
Related command
az webapp list --query "[?appServicePlanId=='$appServicePlanID']"Is your feature request related to a problem? Please describe.
I do have a requirement to change the vnet integration for all my applications to move to a new subnet. And, I was hoping to list all the web apps (app services) and corresponding slots in an app service plan - run through the list iteratively to remove the vnet integration and then associate it back.
Describe the solution you'd like
Similar to the command posted above, where I can list all the app services in a given plan - would like to have the same feature for
az webapp deployment slotDescribe alternatives you've considered
I was trying my luck with
az resource list, while I can list my app service and their corresponding slots with this command I cannot restrict it to a specific app service plan.az resource list --resource-group $resourceGroupName --query "[?kind=='app,linux' && (type=='Microsoft.Web/sites' || type=='Microsoft.Web/sites/slots')]"Additional context