This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| azurerm_resource_group.rg: Refreshing state... [id=/subscriptions/b9ea69a5-4c3f-49e1-9fea-30145415316f/resourceGroups/myTFResourceGroup] | |
| azurerm_app_service_plan.trafficdata: Refreshing state... [id=/subscriptions/b9ea69a5-4c3f-49e1-9fea-30145415316f/resourceGroups/myTFResourceGroup/providers/Microsoft.Web/serverfarms/myTrafficFunctionPlan] | |
| azurerm_function_app.trafficdata: Refreshing state... [id=/subscriptions/b9ea69a5-4c3f-49e1-9fea-30145415316f/resourceGroups/myTFResourceGroup/providers/Microsoft.Web/sites/myTrafficFinction] | |
| An execution plan has been generated and is shown below. | |
| Resource actions are indicated with the following symbols: | |
| ~ update in-place | |
| -/+ destroy and then create replacement | |
| Terraform will perform the following actions: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Terraform will perform the following actions: | |
| module.functions.azurerm_function_app.trafficdata will be updated in-place ~ resource "azurerm_function_app" "trafficdata" { app_service_plan_id = "/subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourceGroups/rg-xxxxxxx-test-traffic/providers/Microsoft.Web/serverfarms/plan-xxxxxxxxxx-traffic-test" ~ app_settings = { "APPINSIGHTS_INSTRUMENTATIONKEY" = "xxxxxxxxxxxxxxxxxxxxxxxxxxx" "AZURE_MAPS_ENDPOINT" = "https://atlas.microsoft.com/" | |
| "BUILD_FLAGS" = "UseExpressBuild" -> null "CITIES_CONFIG_URL" = "https://xxxxxxxxxxxxxxxxx.blob.core.windows.net/config/cities.json" | |
| "ENABLE_ORYX_BUILD" = "true" -> null "FUNCTIONS_WORKER_RUNTIME" = "python" "KEY_VAULT" = "https://xxxxxxxxxxxxxxxx.vault.azure.net/" "NUM_OF_ROUTES_PER_CITY" = "100" | |
| "SCM_DO_BUILD_DURING_DEPLOYMENT" = "1" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module.functions.azurerm_app_service_plan.trafficdata must be replaced-/+ resource "azurerm_app_service_plan" "trafficdata" { + app_service_environment_id = (known after apply) ~ id = "/subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourceGroups/rg-boltteal-test-traffic/providers/Microsoft.Web/serverfarms/plan-boltteal-traffic-test" -> (known after apply) | |
| is_xenon = false -> null ~ kind = "linux" -> "functionapp" # forces replacement |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Register user for Product Plan in Stripe | |
| StripeConfiguration.SetApiKey(StripeAPIKey); | |
| var items = new List<StripeSubscriptionItemOption> { | |
| //Subscribe to Stripe plan with corresponding ID - ENSURE YOUR STRIPE PRICING PLAN ID IS IDENTICAL TO THE APIM PRODUCT ID | |
| new StripeSubscriptionItemOption {PlanId = Request.QueryString["productId"]} | |
| }; | |
| var options = new StripeSubscriptionCreateOptions | |
| { | |
| Items = items, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Create the user in Stripe using the Stripe API | |
| StripeConfiguration.SetApiKey(StripeAPIKey); | |
| var options = new StripeCustomerCreateOptions | |
| { | |
| //Add the customer's email address to Stripe | |
| Email = model.Email, | |
| }; | |
| var service = new StripeCustomerService(); | |
| //Returns us a customer object with a unique Stripe ID for them | |
| StripeCustomer customer = service.Create(options); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System.Collections.Generic; | |
| using System.Net; | |
| using System.Net.Http; | |
| using Microsoft.Azure.WebJobs; | |
| using Microsoft.Azure.WebJobs.Extensions.Http; | |
| using Microsoft.Azure.WebJobs.Host; | |
| using Newtonsoft.Json; | |
| using Microsoft.WindowsAzure.Storage; | |
| using Microsoft.WindowsAzure.Storage.Blob; | |
| using System.Drawing; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using Microsoft.Azure.Management.Compute.Fluent; | |
| using Microsoft.Azure.Management.Compute.Fluent.Models; | |
| using Microsoft.Azure.Management.Fluent; | |
| namespace FluentAPIApp | |
| { | |
| class Program | |
| { | |
| public static void Main(string[] args) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using Microsoft.Azure.Management.Compute.Fluent; | |
| using Microsoft.Azure.Management.Compute.Fluent.Models; | |
| using Microsoft.Azure.Management.Fluent; | |
| namespace FluentAPIApp | |
| { | |
| class Program | |
| { | |
| static void Main(string[] args) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using Microsoft.Azure.Management.Compute.Fluent; | |
| using Microsoft.Azure.Management.Compute.Fluent.Models; | |
| using Microsoft.Azure.Management.Fluent; | |
| namespace FluentAPIApp | |
| { | |
| class Program | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System.Collections.Generic; | |
| using Microsoft.Azure.Management.Compute.Fluent; | |
| using Microsoft.Azure.Management.Compute.Fluent.Models; | |
| using Microsoft.Azure.Management.Fluent; |
NewerOlder