A repository of Azure Websites related samples.
davidebbo / azurewebsitessamples Goto Github PK
View Code? Open in Web Editor NEWA repository of Azure Websites related samples
License: Apache License 2.0
A repository of Azure Websites related samples
License: Apache License 2.0
Greate example, but am i missing a step in this process.
I have a azure dns with and a cname for example configured as timbo.mywebsite.com. If i create this via "BringExternalDomains" in the new portal. It creates ok. If i delete it and then try to add via the code below, i get
{"Code":"NotFound","Message":"Hostname 'timbo.mywebsite.com' does not exist.","Target":null,"Details":[{"Message":"Hostname 'timbo.mywebsite.com' does not exist."},{"Code":"NotFound"},{"ErrorEntity":{"Code":"NotFound","Message":"Hostname 'timbo.mywebsite.com' does not exist.","ExtendedCode":"04020","MessageTemplate":"Hostname '{0}' does not exist.","Parameters":["timbo.mywebsite.com"],"InnerErrors":null}}],"Innererror":null}
is there a step for BringExternalDomains? I did notice if i run just the code at line90 and then the update command at line 111 the response returns the site with no changes.
https://github.com/davidebbo/AzureWebsitesSamples/blob/master/ManagementLibrarySample/Program.cs#L85
PS C:\> gcm Get-AzureRmContext
CommandType Name Version Source
----------- ---- ------- ------
Cmdlet Get-AzureRmContext 3.2.1 AzureRM.profile
https://github.com/davidebbo/AzureWebsitesSamples/blob/master/PowerShell/HelperFunctions.ps1#L315 fails
$Subscription = (Get-AzureRmContext).Subscription.SubscriptionId
This works for my version of the cmdlets
$Subscription = (Get-AzureRmContext).Subscription.Id
Hi,
I was not sure where to post this or who I could follow with.
Thank you
Can this connect a VSTS git repo to an Azure App Service?
I'm executing this sample, but unable to get host names added to a site and SSL bindings are impossible to add. Function BindCertificateToSite
is getting executed, but no change to the site happens.
And I can manually add the host binding and SSL cert to that site, but unable to do it programmatically.
Any ideas?
Do you have a function similar to the below for deploying timer triggers? I replaced the $props
with a PS hashtable that defined the the Timer Trigger JSON. Then it failed on on the call to New-AzureRMResource
.
https://github.com/davidebbo/AzureWebsitesSamples/blob/master/PowerShell/HelperFunctions.ps1#L367
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.