[QUERY] How to deploy an application to an App Service using the new Management libraries?
See original GitHub issueLibrary name and version
Azure.ResourceManager.AppService 1.0.0
Query/Question
I have packaged a .NET application (in a zip file) that I want to deploy to an existing App Service. For that, I want to use the new Azure Management libraries in .NET.
I have the following code that retrieve my existing App Service:
var client = new ArmClient(new DefaultAzureCredential());
var resource = client.GetWebSiteResource(new ResourceIdentifier("/subscriptions/xxx/resourceGroups/xxxx/providers/Microsoft.Web/sites/xxxxx");
WebSiteResource webSite = await resource.GetAsync();
But I can’t find a method “Deploy” or something like that to do the web deploy or the zip deploy of my package. How can I do that with the new Management Libraries?
With the previous SDK, I found some sample showing how to use a Deploy
method but I can’t find anything on the objects of the new SDK.
Environment
No response
Issue Analytics
- State:
- Created a year ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
How to deploy an application to an App Service using ...
I need to do this deployment from C# code so I don't want to use Azure CLI, PowerShell, or do that from a...
Read more >Deploy files to App Service - Azure
Learn to deploy various app packages or discrete libraries, static files, or startup scripts to Azure App Service.
Read more >[QUERY] Get WebApp deployment info using the fluent ...
Query /Question Is there a way through the management SDK to get this deployment info for an App Service?
Read more >Web Apps | Apps Script
Next to "Select type," click Enable deployment types settings > Web app. Enter the information about your web app in the fields under...
Read more >Monitoring Azure App Service
Datadog provides monitoring capabilities for all Azure App Service resource types: Azure Monitor metrics for Apps and Functions using the Azure Integration.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@TechWatching the sample uses fluent style SDK while in our new SDK we do not support the fluent SDK anymore -> See our new SDK design guidance here: https://azure.github.io/azure-sdk/general_introduction.html AppService SDK is still evolving so the sample is not ready yet, I’ve created a new issue to track this. Meanwhile, feel free to let us know what other samples you think is necessary for using the new SDK, or if you have any other general feedback to our SDK, let us know in this survey
Close this issue as we already have #30577 to track this.