From 050c70a2048239fa6e758737693e3d1610d933ec Mon Sep 17 00:00:00 2001 From: Pulumi Bot <30351955+pulumi-bot@users.noreply.github.com> Date: Fri, 6 Sep 2024 19:45:51 +0100 Subject: [PATCH] Upgrade pulumi-terraform-bridge to v3.90.0 (#2381) This PR was generated via `$ upgrade-provider pulumi/pulumi-azure --kind=bridge --pr-reviewers=VenelinMartinov`. --- - Upgrading pulumi-terraform-bridge from v3.89.1 to v3.90.0. --- examples/go.mod | 4 +- examples/go.sum | 8 ++-- .../cmd/pulumi-resource-azure/schema.json | 38 +++++++++---------- provider/go.mod | 10 +++-- provider/go.sum | 12 +++--- sdk/dotnet/AppService/AppService.cs | 2 +- sdk/dotnet/AppService/FunctionApp.cs | 2 +- sdk/dotnet/AppService/FunctionAppSlot.cs | 2 +- sdk/dotnet/AppService/GetAppService.cs | 4 +- sdk/dotnet/AppService/GetFunctionApp.cs | 4 +- sdk/dotnet/AppService/HybridConnection.cs | 2 +- sdk/dotnet/AppService/Slot.cs | 2 +- sdk/dotnet/Cdn/Endpoint.cs | 2 +- sdk/dotnet/Cdn/Profile.cs | 2 +- ...aleSetOsProfileWindowsConfigurationArgs.cs | 2 +- ...SetOsProfileWindowsConfigurationGetArgs.cs | 2 +- ...neScaleSetOsProfileWindowsConfiguration.cs | 2 +- sdk/dotnet/Compute/WindowsVirtualMachine.cs | 6 +-- .../FrontDoor/CustomHttpsConfiguration.cs | 2 +- sdk/dotnet/FrontDoor/FirewallPolicy.cs | 2 +- sdk/dotnet/LogicApps/TriggerCustom.cs | 4 +- sdk/dotnet/LogicApps/TriggerHttpRequest.cs | 4 +- sdk/go.mod | 2 +- sdk/go.sum | 4 +- sdk/go/azure/appservice/appService.go | 2 +- sdk/go/azure/appservice/functionApp.go | 2 +- sdk/go/azure/appservice/functionAppSlot.go | 2 +- sdk/go/azure/appservice/getAppService.go | 2 +- sdk/go/azure/appservice/getFunctionApp.go | 2 +- sdk/go/azure/appservice/hybridConnection.go | 2 +- sdk/go/azure/appservice/slot.go | 2 +- sdk/go/azure/cdn/endpoint.go | 2 +- sdk/go/azure/cdn/profile.go | 2 +- sdk/go/azure/compute/pulumiTypes.go | 8 ++-- sdk/go/azure/compute/windowsVirtualMachine.go | 12 +++--- .../frontdoor/customHttpsConfiguration.go | 2 +- sdk/go/azure/frontdoor/firewallPolicy.go | 2 +- sdk/go/azure/logicapps/triggerCustom.go | 8 ++-- sdk/go/azure/logicapps/triggerHttpRequest.go | 8 ++-- .../pulumi/azure/appservice/AppService.java | 2 +- .../azure/appservice/AppserviceFunctions.java | 16 ++++---- .../pulumi/azure/appservice/FunctionApp.java | 2 +- .../azure/appservice/FunctionAppSlot.java | 2 +- .../azure/appservice/HybridConnection.java | 2 +- .../com/pulumi/azure/appservice/Slot.java | 2 +- .../java/com/pulumi/azure/cdn/Endpoint.java | 2 +- .../java/com/pulumi/azure/cdn/Profile.java | 2 +- .../azure/compute/WindowsVirtualMachine.java | 4 +- .../compute/WindowsVirtualMachineArgs.java | 8 ++-- ...eSetOsProfileWindowsConfigurationArgs.java | 8 ++-- .../inputs/WindowsVirtualMachineState.java | 8 ++-- ...ScaleSetOsProfileWindowsConfiguration.java | 4 +- .../frontdoor/CustomHttpsConfiguration.java | 2 +- .../azure/frontdoor/FirewallPolicy.java | 2 +- .../pulumi/azure/logicapps/TriggerCustom.java | 4 +- .../azure/logicapps/TriggerHttpRequest.java | 4 +- .../logicapps/inputs/TriggerCustomState.java | 8 ++-- .../inputs/TriggerHttpRequestState.java | 8 ++-- sdk/nodejs/appservice/appService.ts | 2 +- sdk/nodejs/appservice/functionApp.ts | 2 +- sdk/nodejs/appservice/functionAppSlot.ts | 2 +- sdk/nodejs/appservice/getAppService.ts | 4 +- sdk/nodejs/appservice/getFunctionApp.ts | 4 +- sdk/nodejs/appservice/hybridConnection.ts | 2 +- sdk/nodejs/appservice/slot.ts | 2 +- sdk/nodejs/cdn/endpoint.ts | 2 +- sdk/nodejs/cdn/profile.ts | 2 +- sdk/nodejs/compute/windowsVirtualMachine.ts | 6 +-- .../frontdoor/customHttpsConfiguration.ts | 2 +- sdk/nodejs/frontdoor/firewallPolicy.ts | 2 +- sdk/nodejs/logicapps/triggerCustom.ts | 4 +- sdk/nodejs/logicapps/triggerHttpRequest.ts | 4 +- sdk/nodejs/types/input.ts | 2 +- sdk/nodejs/types/output.ts | 2 +- .../pulumi_azure/appservice/app_service.py | 4 +- .../pulumi_azure/appservice/function_app.py | 4 +- .../appservice/function_app_slot.py | 4 +- .../appservice/get_app_service.py | 4 +- .../appservice/get_function_app.py | 4 +- .../appservice/hybrid_connection.py | 4 +- sdk/python/pulumi_azure/appservice/slot.py | 4 +- sdk/python/pulumi_azure/cdn/endpoint.py | 4 +- sdk/python/pulumi_azure/cdn/profile.py | 4 +- sdk/python/pulumi_azure/compute/_inputs.py | 6 +-- sdk/python/pulumi_azure/compute/outputs.py | 4 +- .../compute/windows_virtual_machine.py | 14 +++---- .../frontdoor/custom_https_configuration.py | 4 +- .../pulumi_azure/frontdoor/firewall_policy.py | 4 +- .../pulumi_azure/logicapps/trigger_custom.py | 8 ++-- .../logicapps/trigger_http_request.py | 8 ++-- 90 files changed, 201 insertions(+), 199 deletions(-) diff --git a/examples/go.mod b/examples/go.mod index 5e7a8be33d..34f0de1b18 100644 --- a/examples/go.mod +++ b/examples/go.mod @@ -5,7 +5,7 @@ go 1.21 replace github.com/hashicorp/vault => github.com/hashicorp/vault v1.2.0 require ( - github.com/pulumi/pulumi/pkg/v3 v3.129.0 + github.com/pulumi/pulumi/pkg/v3 v3.130.0 github.com/stretchr/testify v1.9.0 ) @@ -128,7 +128,7 @@ require ( github.com/pmezard/go-difflib v1.0.0 // indirect github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect github.com/pulumi/esc v0.9.1 // indirect - github.com/pulumi/pulumi/sdk/v3 v3.129.0 // indirect + github.com/pulumi/pulumi/sdk/v3 v3.130.0 // indirect github.com/rivo/uniseg v0.4.4 // indirect github.com/rogpeppe/go-internal v1.12.0 // indirect github.com/ryanuber/go-glob v1.0.0 // indirect diff --git a/examples/go.sum b/examples/go.sum index d9d59af937..1fc06cde52 100644 --- a/examples/go.sum +++ b/examples/go.sum @@ -342,10 +342,10 @@ github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435 github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE= github.com/pulumi/esc v0.9.1 h1:HH5eEv8sgyxSpY5a8yePyqFXzA8cvBvapfH8457+mIs= github.com/pulumi/esc v0.9.1/go.mod h1:oEJ6bOsjYlQUpjf70GiX+CXn3VBmpwFDxUTlmtUN84c= -github.com/pulumi/pulumi/pkg/v3 v3.129.0 h1:n4Jd4ctlvw3eqyHglb/yJKDtRqjOvdkCBfG5T+orU30= -github.com/pulumi/pulumi/pkg/v3 v3.129.0/go.mod h1:W3c7JgO064kUH5IfyQMCgmsAr5iwr3PO6KEeIQiO0dY= -github.com/pulumi/pulumi/sdk/v3 v3.129.0 h1:uZpTTwWTx7Mk8UT9FgatzxzArim47vZ6hzNCKvgvX6A= -github.com/pulumi/pulumi/sdk/v3 v3.129.0/go.mod h1:p1U24en3zt51agx+WlNboSOV8eLlPWYAkxMzVEXKbnY= +github.com/pulumi/pulumi/pkg/v3 v3.130.0 h1:lS51XeCnhg72LXkMiw2FP1cGP+Y85wYD3quWhCPD5+M= +github.com/pulumi/pulumi/pkg/v3 v3.130.0/go.mod h1:jhZ1Ug5Rl1qivexgEWvmwSWYIT/jRnKSFhLwwv6PrZ0= +github.com/pulumi/pulumi/sdk/v3 v3.130.0 h1:gGJNd+akPqhZ+vrsZmAjSNJn6kGJkitjjkwrmIQMmn8= +github.com/pulumi/pulumi/sdk/v3 v3.130.0/go.mod h1:p1U24en3zt51agx+WlNboSOV8eLlPWYAkxMzVEXKbnY= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= diff --git a/provider/cmd/pulumi-resource-azure/schema.json b/provider/cmd/pulumi-resource-azure/schema.json index b9303a4635..d806734541 100644 --- a/provider/cmd/pulumi-resource-azure/schema.json +++ b/provider/cmd/pulumi-resource-azure/schema.json @@ -39082,7 +39082,7 @@ }, "hotpatchingEnabled": { "type": "boolean", - "description": "Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch).\n\n\u003e **Note:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, the VM's `sku_name` is set to a Azure generation 2 directory within the GitHub Repository.\n" + "description": "Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch).\n\n\u003e **Note:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, the VM's `sku_name` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM SKU and the `extension` contains an application health extension. An example of how to correctly configure a Virtual Machine Scale Set to provision a Windows Virtual Machine with hotpatching enabled can be found in the `./examples/orchestrated-vm-scale-set/hotpatching-enabled` directory within the GitHub Repository.\n" }, "patchAssessmentMode": { "type": "string", @@ -120138,7 +120138,7 @@ } }, "azure:appservice/appService:AppService": { - "description": "Manages an App Service (within an App Service Plan).\n\n!\u003e **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.appservice.LinuxWebApp` resources instead.\n\n\u003e **Note:** When using Slots - the `app_settings`, `connection_string` and `site_config` blocks on the `azure.appservice.AppService` resource will be overwritten when promoting a Slot using the `azure.appservice.ActiveSlot` resource.\n\n## Example Usage\n\nThis example provisions a Windows App Service.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\n\nconst example = new azure.core.ResourceGroup(\"example\", {\n name: \"example-resources\",\n location: \"West Europe\",\n});\nconst examplePlan = new azure.appservice.Plan(\"example\", {\n name: \"example-appserviceplan\",\n location: example.location,\n resourceGroupName: example.name,\n sku: {\n tier: \"Standard\",\n size: \"S1\",\n },\n});\nconst exampleAppService = new azure.appservice.AppService(\"example\", {\n name: \"example-app-service\",\n location: example.location,\n resourceGroupName: example.name,\n appServicePlanId: examplePlan.id,\n siteConfig: {\n dotnetFrameworkVersion: \"v4.0\",\n scmType: \"LocalGit\",\n },\n appSettings: {\n SOME_KEY: \"some-value\",\n },\n connectionStrings: [{\n name: \"Database\",\n type: \"SQLServer\",\n value: \"Server=some-server.mydomain.com;Integrated Security=SSPI\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\n\nexample = azure.core.ResourceGroup(\"example\",\n name=\"example-resources\",\n location=\"West Europe\")\nexample_plan = azure.appservice.Plan(\"example\",\n name=\"example-appserviceplan\",\n location=example.location,\n resource_group_name=example.name,\n sku={\n \"tier\": \"Standard\",\n \"size\": \"S1\",\n })\nexample_app_service = azure.appservice.AppService(\"example\",\n name=\"example-app-service\",\n location=example.location,\n resource_group_name=example.name,\n app_service_plan_id=example_plan.id,\n site_config={\n \"dotnet_framework_version\": \"v4.0\",\n \"scm_type\": \"LocalGit\",\n },\n app_settings={\n \"SOME_KEY\": \"some-value\",\n },\n connection_strings=[{\n \"name\": \"Database\",\n \"type\": \"SQLServer\",\n \"value\": \"Server=some-server.mydomain.com;Integrated Security=SSPI\",\n }])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Azure.Core.ResourceGroup(\"example\", new()\n {\n Name = \"example-resources\",\n Location = \"West Europe\",\n });\n\n var examplePlan = new Azure.AppService.Plan(\"example\", new()\n {\n Name = \"example-appserviceplan\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n Sku = new Azure.AppService.Inputs.PlanSkuArgs\n {\n Tier = \"Standard\",\n Size = \"S1\",\n },\n });\n\n var exampleAppService = new Azure.AppService.AppService(\"example\", new()\n {\n Name = \"example-app-service\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n AppServicePlanId = examplePlan.Id,\n SiteConfig = new Azure.AppService.Inputs.AppServiceSiteConfigArgs\n {\n DotnetFrameworkVersion = \"v4.0\",\n ScmType = \"LocalGit\",\n },\n AppSettings = \n {\n { \"SOME_KEY\", \"some-value\" },\n },\n ConnectionStrings = new[]\n {\n new Azure.AppService.Inputs.AppServiceConnectionStringArgs\n {\n Name = \"Database\",\n Type = \"SQLServer\",\n Value = \"Server=some-server.mydomain.com;Integrated Security=SSPI\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/appservice\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := core.NewResourceGroup(ctx, \"example\", \u0026core.ResourceGroupArgs{\n\t\t\tName: pulumi.String(\"example-resources\"),\n\t\t\tLocation: pulumi.String(\"West Europe\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texamplePlan, err := appservice.NewPlan(ctx, \"example\", \u0026appservice.PlanArgs{\n\t\t\tName: pulumi.String(\"example-appserviceplan\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tSku: \u0026appservice.PlanSkuArgs{\n\t\t\t\tTier: pulumi.String(\"Standard\"),\n\t\t\t\tSize: pulumi.String(\"S1\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = appservice.NewAppService(ctx, \"example\", \u0026appservice.AppServiceArgs{\n\t\t\tName: pulumi.String(\"example-app-service\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tAppServicePlanId: examplePlan.ID(),\n\t\t\tSiteConfig: \u0026appservice.AppServiceSiteConfigArgs{\n\t\t\t\tDotnetFrameworkVersion: pulumi.String(\"v4.0\"),\n\t\t\t\tScmType: pulumi.String(\"LocalGit\"),\n\t\t\t},\n\t\t\tAppSettings: pulumi.StringMap{\n\t\t\t\t\"SOME_KEY\": pulumi.String(\"some-value\"),\n\t\t\t},\n\t\t\tConnectionStrings: appservice.AppServiceConnectionStringArray{\n\t\t\t\t\u0026appservice.AppServiceConnectionStringArgs{\n\t\t\t\t\tName: pulumi.String(\"Database\"),\n\t\t\t\t\tType: pulumi.String(\"SQLServer\"),\n\t\t\t\t\tValue: pulumi.String(\"Server=some-server.mydomain.com;Integrated Security=SSPI\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azure.core.ResourceGroup;\nimport com.pulumi.azure.core.ResourceGroupArgs;\nimport com.pulumi.azure.appservice.Plan;\nimport com.pulumi.azure.appservice.PlanArgs;\nimport com.pulumi.azure.appservice.inputs.PlanSkuArgs;\nimport com.pulumi.azure.appservice.AppService;\nimport com.pulumi.azure.appservice.AppServiceArgs;\nimport com.pulumi.azure.appservice.inputs.AppServiceSiteConfigArgs;\nimport com.pulumi.azure.appservice.inputs.AppServiceConnectionStringArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ResourceGroup(\"example\", ResourceGroupArgs.builder()\n .name(\"example-resources\")\n .location(\"West Europe\")\n .build());\n\n var examplePlan = new Plan(\"examplePlan\", PlanArgs.builder()\n .name(\"example-appserviceplan\")\n .location(example.location())\n .resourceGroupName(example.name())\n .sku(PlanSkuArgs.builder()\n .tier(\"Standard\")\n .size(\"S1\")\n .build())\n .build());\n\n var exampleAppService = new AppService(\"exampleAppService\", AppServiceArgs.builder()\n .name(\"example-app-service\")\n .location(example.location())\n .resourceGroupName(example.name())\n .appServicePlanId(examplePlan.id())\n .siteConfig(AppServiceSiteConfigArgs.builder()\n .dotnetFrameworkVersion(\"v4.0\")\n .scmType(\"LocalGit\")\n .build())\n .appSettings(Map.of(\"SOME_KEY\", \"some-value\"))\n .connectionStrings(AppServiceConnectionStringArgs.builder()\n .name(\"Database\")\n .type(\"SQLServer\")\n .value(\"Server=some-server.mydomain.com;Integrated Security=SSPI\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: azure:core:ResourceGroup\n properties:\n name: example-resources\n location: West Europe\n examplePlan:\n type: azure:appservice:Plan\n name: example\n properties:\n name: example-appserviceplan\n location: ${example.location}\n resourceGroupName: ${example.name}\n sku:\n tier: Standard\n size: S1\n exampleAppService:\n type: azure:appservice:AppService\n name: example\n properties:\n name: example-app-service\n location: ${example.location}\n resourceGroupName: ${example.name}\n appServicePlanId: ${examplePlan.id}\n siteConfig:\n dotnetFrameworkVersion: v4.0\n scmType: LocalGit\n appSettings:\n SOME_KEY: some-value\n connectionStrings:\n - name: Database\n type: SQLServer\n value: Server=some-server.mydomain.com;Integrated Security=SSPI\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nApp Services can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:appservice/appService:AppService instance1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Web/sites/instance1\n```\n\n", + "description": "Manages an App Service (within an App Service Plan).\n\n!\u003e **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.appservice.LinuxWebApp` and `azure.appservice.WindowsWebApp` resources instead.\n\n\u003e **Note:** When using Slots - the `app_settings`, `connection_string` and `site_config` blocks on the `azure.appservice.AppService` resource will be overwritten when promoting a Slot using the `azure.appservice.ActiveSlot` resource.\n\n## Example Usage\n\nThis example provisions a Windows App Service.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\n\nconst example = new azure.core.ResourceGroup(\"example\", {\n name: \"example-resources\",\n location: \"West Europe\",\n});\nconst examplePlan = new azure.appservice.Plan(\"example\", {\n name: \"example-appserviceplan\",\n location: example.location,\n resourceGroupName: example.name,\n sku: {\n tier: \"Standard\",\n size: \"S1\",\n },\n});\nconst exampleAppService = new azure.appservice.AppService(\"example\", {\n name: \"example-app-service\",\n location: example.location,\n resourceGroupName: example.name,\n appServicePlanId: examplePlan.id,\n siteConfig: {\n dotnetFrameworkVersion: \"v4.0\",\n scmType: \"LocalGit\",\n },\n appSettings: {\n SOME_KEY: \"some-value\",\n },\n connectionStrings: [{\n name: \"Database\",\n type: \"SQLServer\",\n value: \"Server=some-server.mydomain.com;Integrated Security=SSPI\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\n\nexample = azure.core.ResourceGroup(\"example\",\n name=\"example-resources\",\n location=\"West Europe\")\nexample_plan = azure.appservice.Plan(\"example\",\n name=\"example-appserviceplan\",\n location=example.location,\n resource_group_name=example.name,\n sku={\n \"tier\": \"Standard\",\n \"size\": \"S1\",\n })\nexample_app_service = azure.appservice.AppService(\"example\",\n name=\"example-app-service\",\n location=example.location,\n resource_group_name=example.name,\n app_service_plan_id=example_plan.id,\n site_config={\n \"dotnet_framework_version\": \"v4.0\",\n \"scm_type\": \"LocalGit\",\n },\n app_settings={\n \"SOME_KEY\": \"some-value\",\n },\n connection_strings=[{\n \"name\": \"Database\",\n \"type\": \"SQLServer\",\n \"value\": \"Server=some-server.mydomain.com;Integrated Security=SSPI\",\n }])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Azure.Core.ResourceGroup(\"example\", new()\n {\n Name = \"example-resources\",\n Location = \"West Europe\",\n });\n\n var examplePlan = new Azure.AppService.Plan(\"example\", new()\n {\n Name = \"example-appserviceplan\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n Sku = new Azure.AppService.Inputs.PlanSkuArgs\n {\n Tier = \"Standard\",\n Size = \"S1\",\n },\n });\n\n var exampleAppService = new Azure.AppService.AppService(\"example\", new()\n {\n Name = \"example-app-service\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n AppServicePlanId = examplePlan.Id,\n SiteConfig = new Azure.AppService.Inputs.AppServiceSiteConfigArgs\n {\n DotnetFrameworkVersion = \"v4.0\",\n ScmType = \"LocalGit\",\n },\n AppSettings = \n {\n { \"SOME_KEY\", \"some-value\" },\n },\n ConnectionStrings = new[]\n {\n new Azure.AppService.Inputs.AppServiceConnectionStringArgs\n {\n Name = \"Database\",\n Type = \"SQLServer\",\n Value = \"Server=some-server.mydomain.com;Integrated Security=SSPI\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/appservice\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := core.NewResourceGroup(ctx, \"example\", \u0026core.ResourceGroupArgs{\n\t\t\tName: pulumi.String(\"example-resources\"),\n\t\t\tLocation: pulumi.String(\"West Europe\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texamplePlan, err := appservice.NewPlan(ctx, \"example\", \u0026appservice.PlanArgs{\n\t\t\tName: pulumi.String(\"example-appserviceplan\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tSku: \u0026appservice.PlanSkuArgs{\n\t\t\t\tTier: pulumi.String(\"Standard\"),\n\t\t\t\tSize: pulumi.String(\"S1\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = appservice.NewAppService(ctx, \"example\", \u0026appservice.AppServiceArgs{\n\t\t\tName: pulumi.String(\"example-app-service\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tAppServicePlanId: examplePlan.ID(),\n\t\t\tSiteConfig: \u0026appservice.AppServiceSiteConfigArgs{\n\t\t\t\tDotnetFrameworkVersion: pulumi.String(\"v4.0\"),\n\t\t\t\tScmType: pulumi.String(\"LocalGit\"),\n\t\t\t},\n\t\t\tAppSettings: pulumi.StringMap{\n\t\t\t\t\"SOME_KEY\": pulumi.String(\"some-value\"),\n\t\t\t},\n\t\t\tConnectionStrings: appservice.AppServiceConnectionStringArray{\n\t\t\t\t\u0026appservice.AppServiceConnectionStringArgs{\n\t\t\t\t\tName: pulumi.String(\"Database\"),\n\t\t\t\t\tType: pulumi.String(\"SQLServer\"),\n\t\t\t\t\tValue: pulumi.String(\"Server=some-server.mydomain.com;Integrated Security=SSPI\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azure.core.ResourceGroup;\nimport com.pulumi.azure.core.ResourceGroupArgs;\nimport com.pulumi.azure.appservice.Plan;\nimport com.pulumi.azure.appservice.PlanArgs;\nimport com.pulumi.azure.appservice.inputs.PlanSkuArgs;\nimport com.pulumi.azure.appservice.AppService;\nimport com.pulumi.azure.appservice.AppServiceArgs;\nimport com.pulumi.azure.appservice.inputs.AppServiceSiteConfigArgs;\nimport com.pulumi.azure.appservice.inputs.AppServiceConnectionStringArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ResourceGroup(\"example\", ResourceGroupArgs.builder()\n .name(\"example-resources\")\n .location(\"West Europe\")\n .build());\n\n var examplePlan = new Plan(\"examplePlan\", PlanArgs.builder()\n .name(\"example-appserviceplan\")\n .location(example.location())\n .resourceGroupName(example.name())\n .sku(PlanSkuArgs.builder()\n .tier(\"Standard\")\n .size(\"S1\")\n .build())\n .build());\n\n var exampleAppService = new AppService(\"exampleAppService\", AppServiceArgs.builder()\n .name(\"example-app-service\")\n .location(example.location())\n .resourceGroupName(example.name())\n .appServicePlanId(examplePlan.id())\n .siteConfig(AppServiceSiteConfigArgs.builder()\n .dotnetFrameworkVersion(\"v4.0\")\n .scmType(\"LocalGit\")\n .build())\n .appSettings(Map.of(\"SOME_KEY\", \"some-value\"))\n .connectionStrings(AppServiceConnectionStringArgs.builder()\n .name(\"Database\")\n .type(\"SQLServer\")\n .value(\"Server=some-server.mydomain.com;Integrated Security=SSPI\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: azure:core:ResourceGroup\n properties:\n name: example-resources\n location: West Europe\n examplePlan:\n type: azure:appservice:Plan\n name: example\n properties:\n name: example-appserviceplan\n location: ${example.location}\n resourceGroupName: ${example.name}\n sku:\n tier: Standard\n size: S1\n exampleAppService:\n type: azure:appservice:AppService\n name: example\n properties:\n name: example-app-service\n location: ${example.location}\n resourceGroupName: ${example.name}\n appServicePlanId: ${examplePlan.id}\n siteConfig:\n dotnetFrameworkVersion: v4.0\n scmType: LocalGit\n appSettings:\n SOME_KEY: some-value\n connectionStrings:\n - name: Database\n type: SQLServer\n value: Server=some-server.mydomain.com;Integrated Security=SSPI\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nApp Services can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:appservice/appService:AppService instance1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Web/sites/instance1\n```\n\n", "properties": { "appServicePlanId": { "type": "string", @@ -121808,7 +121808,7 @@ } }, "azure:appservice/functionApp:FunctionApp": { - "description": "Manages a Function App.\n\n!\u003e **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.appservice.LinuxFunctionApp` resources instead.\n\n\u003e **Note:** To connect an Azure Function App and a subnet within the same region `azure.appservice.VirtualNetworkSwiftConnection` can be used.\nFor an example, check the `azure.appservice.VirtualNetworkSwiftConnection` documentation.\n\n## Example Usage\n\n### With App Service Plan)\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\n\nconst example = new azure.core.ResourceGroup(\"example\", {\n name: \"azure-functions-test-rg\",\n location: \"West Europe\",\n});\nconst exampleAccount = new azure.storage.Account(\"example\", {\n name: \"functionsapptestsa\",\n resourceGroupName: example.name,\n location: example.location,\n accountTier: \"Standard\",\n accountReplicationType: \"LRS\",\n});\nconst examplePlan = new azure.appservice.Plan(\"example\", {\n name: \"azure-functions-test-service-plan\",\n location: example.location,\n resourceGroupName: example.name,\n sku: {\n tier: \"Standard\",\n size: \"S1\",\n },\n});\nconst exampleFunctionApp = new azure.appservice.FunctionApp(\"example\", {\n name: \"test-azure-functions\",\n location: example.location,\n resourceGroupName: example.name,\n appServicePlanId: examplePlan.id,\n storageAccountName: exampleAccount.name,\n storageAccountAccessKey: exampleAccount.primaryAccessKey,\n});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\n\nexample = azure.core.ResourceGroup(\"example\",\n name=\"azure-functions-test-rg\",\n location=\"West Europe\")\nexample_account = azure.storage.Account(\"example\",\n name=\"functionsapptestsa\",\n resource_group_name=example.name,\n location=example.location,\n account_tier=\"Standard\",\n account_replication_type=\"LRS\")\nexample_plan = azure.appservice.Plan(\"example\",\n name=\"azure-functions-test-service-plan\",\n location=example.location,\n resource_group_name=example.name,\n sku={\n \"tier\": \"Standard\",\n \"size\": \"S1\",\n })\nexample_function_app = azure.appservice.FunctionApp(\"example\",\n name=\"test-azure-functions\",\n location=example.location,\n resource_group_name=example.name,\n app_service_plan_id=example_plan.id,\n storage_account_name=example_account.name,\n storage_account_access_key=example_account.primary_access_key)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Azure.Core.ResourceGroup(\"example\", new()\n {\n Name = \"azure-functions-test-rg\",\n Location = \"West Europe\",\n });\n\n var exampleAccount = new Azure.Storage.Account(\"example\", new()\n {\n Name = \"functionsapptestsa\",\n ResourceGroupName = example.Name,\n Location = example.Location,\n AccountTier = \"Standard\",\n AccountReplicationType = \"LRS\",\n });\n\n var examplePlan = new Azure.AppService.Plan(\"example\", new()\n {\n Name = \"azure-functions-test-service-plan\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n Sku = new Azure.AppService.Inputs.PlanSkuArgs\n {\n Tier = \"Standard\",\n Size = \"S1\",\n },\n });\n\n var exampleFunctionApp = new Azure.AppService.FunctionApp(\"example\", new()\n {\n Name = \"test-azure-functions\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n AppServicePlanId = examplePlan.Id,\n StorageAccountName = exampleAccount.Name,\n StorageAccountAccessKey = exampleAccount.PrimaryAccessKey,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/appservice\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := core.NewResourceGroup(ctx, \"example\", \u0026core.ResourceGroupArgs{\n\t\t\tName: pulumi.String(\"azure-functions-test-rg\"),\n\t\t\tLocation: pulumi.String(\"West Europe\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleAccount, err := storage.NewAccount(ctx, \"example\", \u0026storage.AccountArgs{\n\t\t\tName: pulumi.String(\"functionsapptestsa\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tLocation: example.Location,\n\t\t\tAccountTier: pulumi.String(\"Standard\"),\n\t\t\tAccountReplicationType: pulumi.String(\"LRS\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texamplePlan, err := appservice.NewPlan(ctx, \"example\", \u0026appservice.PlanArgs{\n\t\t\tName: pulumi.String(\"azure-functions-test-service-plan\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tSku: \u0026appservice.PlanSkuArgs{\n\t\t\t\tTier: pulumi.String(\"Standard\"),\n\t\t\t\tSize: pulumi.String(\"S1\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = appservice.NewFunctionApp(ctx, \"example\", \u0026appservice.FunctionAppArgs{\n\t\t\tName: pulumi.String(\"test-azure-functions\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tAppServicePlanId: examplePlan.ID(),\n\t\t\tStorageAccountName: exampleAccount.Name,\n\t\t\tStorageAccountAccessKey: exampleAccount.PrimaryAccessKey,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azure.core.ResourceGroup;\nimport com.pulumi.azure.core.ResourceGroupArgs;\nimport com.pulumi.azure.storage.Account;\nimport com.pulumi.azure.storage.AccountArgs;\nimport com.pulumi.azure.appservice.Plan;\nimport com.pulumi.azure.appservice.PlanArgs;\nimport com.pulumi.azure.appservice.inputs.PlanSkuArgs;\nimport com.pulumi.azure.appservice.FunctionApp;\nimport com.pulumi.azure.appservice.FunctionAppArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ResourceGroup(\"example\", ResourceGroupArgs.builder()\n .name(\"azure-functions-test-rg\")\n .location(\"West Europe\")\n .build());\n\n var exampleAccount = new Account(\"exampleAccount\", AccountArgs.builder()\n .name(\"functionsapptestsa\")\n .resourceGroupName(example.name())\n .location(example.location())\n .accountTier(\"Standard\")\n .accountReplicationType(\"LRS\")\n .build());\n\n var examplePlan = new Plan(\"examplePlan\", PlanArgs.builder()\n .name(\"azure-functions-test-service-plan\")\n .location(example.location())\n .resourceGroupName(example.name())\n .sku(PlanSkuArgs.builder()\n .tier(\"Standard\")\n .size(\"S1\")\n .build())\n .build());\n\n var exampleFunctionApp = new FunctionApp(\"exampleFunctionApp\", FunctionAppArgs.builder()\n .name(\"test-azure-functions\")\n .location(example.location())\n .resourceGroupName(example.name())\n .appServicePlanId(examplePlan.id())\n .storageAccountName(exampleAccount.name())\n .storageAccountAccessKey(exampleAccount.primaryAccessKey())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: azure:core:ResourceGroup\n properties:\n name: azure-functions-test-rg\n location: West Europe\n exampleAccount:\n type: azure:storage:Account\n name: example\n properties:\n name: functionsapptestsa\n resourceGroupName: ${example.name}\n location: ${example.location}\n accountTier: Standard\n accountReplicationType: LRS\n examplePlan:\n type: azure:appservice:Plan\n name: example\n properties:\n name: azure-functions-test-service-plan\n location: ${example.location}\n resourceGroupName: ${example.name}\n sku:\n tier: Standard\n size: S1\n exampleFunctionApp:\n type: azure:appservice:FunctionApp\n name: example\n properties:\n name: test-azure-functions\n location: ${example.location}\n resourceGroupName: ${example.name}\n appServicePlanId: ${examplePlan.id}\n storageAccountName: ${exampleAccount.name}\n storageAccountAccessKey: ${exampleAccount.primaryAccessKey}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n\n### In A Consumption Plan)\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\n\nconst example = new azure.core.ResourceGroup(\"example\", {\n name: \"azure-functions-cptest-rg\",\n location: \"West Europe\",\n});\nconst exampleAccount = new azure.storage.Account(\"example\", {\n name: \"functionsapptestsa\",\n resourceGroupName: example.name,\n location: example.location,\n accountTier: \"Standard\",\n accountReplicationType: \"LRS\",\n});\nconst examplePlan = new azure.appservice.Plan(\"example\", {\n name: \"azure-functions-test-service-plan\",\n location: example.location,\n resourceGroupName: example.name,\n kind: \"FunctionApp\",\n sku: {\n tier: \"Dynamic\",\n size: \"Y1\",\n },\n});\nconst exampleFunctionApp = new azure.appservice.FunctionApp(\"example\", {\n name: \"test-azure-functions\",\n location: example.location,\n resourceGroupName: example.name,\n appServicePlanId: examplePlan.id,\n storageAccountName: exampleAccount.name,\n storageAccountAccessKey: exampleAccount.primaryAccessKey,\n});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\n\nexample = azure.core.ResourceGroup(\"example\",\n name=\"azure-functions-cptest-rg\",\n location=\"West Europe\")\nexample_account = azure.storage.Account(\"example\",\n name=\"functionsapptestsa\",\n resource_group_name=example.name,\n location=example.location,\n account_tier=\"Standard\",\n account_replication_type=\"LRS\")\nexample_plan = azure.appservice.Plan(\"example\",\n name=\"azure-functions-test-service-plan\",\n location=example.location,\n resource_group_name=example.name,\n kind=\"FunctionApp\",\n sku={\n \"tier\": \"Dynamic\",\n \"size\": \"Y1\",\n })\nexample_function_app = azure.appservice.FunctionApp(\"example\",\n name=\"test-azure-functions\",\n location=example.location,\n resource_group_name=example.name,\n app_service_plan_id=example_plan.id,\n storage_account_name=example_account.name,\n storage_account_access_key=example_account.primary_access_key)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Azure.Core.ResourceGroup(\"example\", new()\n {\n Name = \"azure-functions-cptest-rg\",\n Location = \"West Europe\",\n });\n\n var exampleAccount = new Azure.Storage.Account(\"example\", new()\n {\n Name = \"functionsapptestsa\",\n ResourceGroupName = example.Name,\n Location = example.Location,\n AccountTier = \"Standard\",\n AccountReplicationType = \"LRS\",\n });\n\n var examplePlan = new Azure.AppService.Plan(\"example\", new()\n {\n Name = \"azure-functions-test-service-plan\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n Kind = \"FunctionApp\",\n Sku = new Azure.AppService.Inputs.PlanSkuArgs\n {\n Tier = \"Dynamic\",\n Size = \"Y1\",\n },\n });\n\n var exampleFunctionApp = new Azure.AppService.FunctionApp(\"example\", new()\n {\n Name = \"test-azure-functions\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n AppServicePlanId = examplePlan.Id,\n StorageAccountName = exampleAccount.Name,\n StorageAccountAccessKey = exampleAccount.PrimaryAccessKey,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/appservice\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := core.NewResourceGroup(ctx, \"example\", \u0026core.ResourceGroupArgs{\n\t\t\tName: pulumi.String(\"azure-functions-cptest-rg\"),\n\t\t\tLocation: pulumi.String(\"West Europe\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleAccount, err := storage.NewAccount(ctx, \"example\", \u0026storage.AccountArgs{\n\t\t\tName: pulumi.String(\"functionsapptestsa\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tLocation: example.Location,\n\t\t\tAccountTier: pulumi.String(\"Standard\"),\n\t\t\tAccountReplicationType: pulumi.String(\"LRS\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texamplePlan, err := appservice.NewPlan(ctx, \"example\", \u0026appservice.PlanArgs{\n\t\t\tName: pulumi.String(\"azure-functions-test-service-plan\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tKind: pulumi.Any(\"FunctionApp\"),\n\t\t\tSku: \u0026appservice.PlanSkuArgs{\n\t\t\t\tTier: pulumi.String(\"Dynamic\"),\n\t\t\t\tSize: pulumi.String(\"Y1\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = appservice.NewFunctionApp(ctx, \"example\", \u0026appservice.FunctionAppArgs{\n\t\t\tName: pulumi.String(\"test-azure-functions\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tAppServicePlanId: examplePlan.ID(),\n\t\t\tStorageAccountName: exampleAccount.Name,\n\t\t\tStorageAccountAccessKey: exampleAccount.PrimaryAccessKey,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azure.core.ResourceGroup;\nimport com.pulumi.azure.core.ResourceGroupArgs;\nimport com.pulumi.azure.storage.Account;\nimport com.pulumi.azure.storage.AccountArgs;\nimport com.pulumi.azure.appservice.Plan;\nimport com.pulumi.azure.appservice.PlanArgs;\nimport com.pulumi.azure.appservice.inputs.PlanSkuArgs;\nimport com.pulumi.azure.appservice.FunctionApp;\nimport com.pulumi.azure.appservice.FunctionAppArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ResourceGroup(\"example\", ResourceGroupArgs.builder()\n .name(\"azure-functions-cptest-rg\")\n .location(\"West Europe\")\n .build());\n\n var exampleAccount = new Account(\"exampleAccount\", AccountArgs.builder()\n .name(\"functionsapptestsa\")\n .resourceGroupName(example.name())\n .location(example.location())\n .accountTier(\"Standard\")\n .accountReplicationType(\"LRS\")\n .build());\n\n var examplePlan = new Plan(\"examplePlan\", PlanArgs.builder()\n .name(\"azure-functions-test-service-plan\")\n .location(example.location())\n .resourceGroupName(example.name())\n .kind(\"FunctionApp\")\n .sku(PlanSkuArgs.builder()\n .tier(\"Dynamic\")\n .size(\"Y1\")\n .build())\n .build());\n\n var exampleFunctionApp = new FunctionApp(\"exampleFunctionApp\", FunctionAppArgs.builder()\n .name(\"test-azure-functions\")\n .location(example.location())\n .resourceGroupName(example.name())\n .appServicePlanId(examplePlan.id())\n .storageAccountName(exampleAccount.name())\n .storageAccountAccessKey(exampleAccount.primaryAccessKey())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: azure:core:ResourceGroup\n properties:\n name: azure-functions-cptest-rg\n location: West Europe\n exampleAccount:\n type: azure:storage:Account\n name: example\n properties:\n name: functionsapptestsa\n resourceGroupName: ${example.name}\n location: ${example.location}\n accountTier: Standard\n accountReplicationType: LRS\n examplePlan:\n type: azure:appservice:Plan\n name: example\n properties:\n name: azure-functions-test-service-plan\n location: ${example.location}\n resourceGroupName: ${example.name}\n kind: FunctionApp\n sku:\n tier: Dynamic\n size: Y1\n exampleFunctionApp:\n type: azure:appservice:FunctionApp\n name: example\n properties:\n name: test-azure-functions\n location: ${example.location}\n resourceGroupName: ${example.name}\n appServicePlanId: ${examplePlan.id}\n storageAccountName: ${exampleAccount.name}\n storageAccountAccessKey: ${exampleAccount.primaryAccessKey}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n\n### Linux)\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\n\nconst example = new azure.core.ResourceGroup(\"example\", {\n name: \"azure-functions-cptest-rg\",\n location: \"West Europe\",\n});\nconst exampleAccount = new azure.storage.Account(\"example\", {\n name: \"functionsapptestsa\",\n resourceGroupName: example.name,\n location: example.location,\n accountTier: \"Standard\",\n accountReplicationType: \"LRS\",\n});\nconst examplePlan = new azure.appservice.Plan(\"example\", {\n name: \"azure-functions-test-service-plan\",\n location: example.location,\n resourceGroupName: example.name,\n kind: \"Linux\",\n reserved: true,\n sku: {\n tier: \"Dynamic\",\n size: \"Y1\",\n },\n});\nconst exampleFunctionApp = new azure.appservice.FunctionApp(\"example\", {\n name: \"test-azure-functions\",\n location: example.location,\n resourceGroupName: example.name,\n appServicePlanId: examplePlan.id,\n storageAccountName: exampleAccount.name,\n storageAccountAccessKey: exampleAccount.primaryAccessKey,\n osType: \"linux\",\n version: \"~3\",\n});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\n\nexample = azure.core.ResourceGroup(\"example\",\n name=\"azure-functions-cptest-rg\",\n location=\"West Europe\")\nexample_account = azure.storage.Account(\"example\",\n name=\"functionsapptestsa\",\n resource_group_name=example.name,\n location=example.location,\n account_tier=\"Standard\",\n account_replication_type=\"LRS\")\nexample_plan = azure.appservice.Plan(\"example\",\n name=\"azure-functions-test-service-plan\",\n location=example.location,\n resource_group_name=example.name,\n kind=\"Linux\",\n reserved=True,\n sku={\n \"tier\": \"Dynamic\",\n \"size\": \"Y1\",\n })\nexample_function_app = azure.appservice.FunctionApp(\"example\",\n name=\"test-azure-functions\",\n location=example.location,\n resource_group_name=example.name,\n app_service_plan_id=example_plan.id,\n storage_account_name=example_account.name,\n storage_account_access_key=example_account.primary_access_key,\n os_type=\"linux\",\n version=\"~3\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Azure.Core.ResourceGroup(\"example\", new()\n {\n Name = \"azure-functions-cptest-rg\",\n Location = \"West Europe\",\n });\n\n var exampleAccount = new Azure.Storage.Account(\"example\", new()\n {\n Name = \"functionsapptestsa\",\n ResourceGroupName = example.Name,\n Location = example.Location,\n AccountTier = \"Standard\",\n AccountReplicationType = \"LRS\",\n });\n\n var examplePlan = new Azure.AppService.Plan(\"example\", new()\n {\n Name = \"azure-functions-test-service-plan\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n Kind = \"Linux\",\n Reserved = true,\n Sku = new Azure.AppService.Inputs.PlanSkuArgs\n {\n Tier = \"Dynamic\",\n Size = \"Y1\",\n },\n });\n\n var exampleFunctionApp = new Azure.AppService.FunctionApp(\"example\", new()\n {\n Name = \"test-azure-functions\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n AppServicePlanId = examplePlan.Id,\n StorageAccountName = exampleAccount.Name,\n StorageAccountAccessKey = exampleAccount.PrimaryAccessKey,\n OsType = \"linux\",\n Version = \"~3\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/appservice\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := core.NewResourceGroup(ctx, \"example\", \u0026core.ResourceGroupArgs{\n\t\t\tName: pulumi.String(\"azure-functions-cptest-rg\"),\n\t\t\tLocation: pulumi.String(\"West Europe\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleAccount, err := storage.NewAccount(ctx, \"example\", \u0026storage.AccountArgs{\n\t\t\tName: pulumi.String(\"functionsapptestsa\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tLocation: example.Location,\n\t\t\tAccountTier: pulumi.String(\"Standard\"),\n\t\t\tAccountReplicationType: pulumi.String(\"LRS\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texamplePlan, err := appservice.NewPlan(ctx, \"example\", \u0026appservice.PlanArgs{\n\t\t\tName: pulumi.String(\"azure-functions-test-service-plan\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tKind: pulumi.Any(\"Linux\"),\n\t\t\tReserved: pulumi.Bool(true),\n\t\t\tSku: \u0026appservice.PlanSkuArgs{\n\t\t\t\tTier: pulumi.String(\"Dynamic\"),\n\t\t\t\tSize: pulumi.String(\"Y1\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = appservice.NewFunctionApp(ctx, \"example\", \u0026appservice.FunctionAppArgs{\n\t\t\tName: pulumi.String(\"test-azure-functions\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tAppServicePlanId: examplePlan.ID(),\n\t\t\tStorageAccountName: exampleAccount.Name,\n\t\t\tStorageAccountAccessKey: exampleAccount.PrimaryAccessKey,\n\t\t\tOsType: pulumi.String(\"linux\"),\n\t\t\tVersion: pulumi.String(\"~3\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azure.core.ResourceGroup;\nimport com.pulumi.azure.core.ResourceGroupArgs;\nimport com.pulumi.azure.storage.Account;\nimport com.pulumi.azure.storage.AccountArgs;\nimport com.pulumi.azure.appservice.Plan;\nimport com.pulumi.azure.appservice.PlanArgs;\nimport com.pulumi.azure.appservice.inputs.PlanSkuArgs;\nimport com.pulumi.azure.appservice.FunctionApp;\nimport com.pulumi.azure.appservice.FunctionAppArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ResourceGroup(\"example\", ResourceGroupArgs.builder()\n .name(\"azure-functions-cptest-rg\")\n .location(\"West Europe\")\n .build());\n\n var exampleAccount = new Account(\"exampleAccount\", AccountArgs.builder()\n .name(\"functionsapptestsa\")\n .resourceGroupName(example.name())\n .location(example.location())\n .accountTier(\"Standard\")\n .accountReplicationType(\"LRS\")\n .build());\n\n var examplePlan = new Plan(\"examplePlan\", PlanArgs.builder()\n .name(\"azure-functions-test-service-plan\")\n .location(example.location())\n .resourceGroupName(example.name())\n .kind(\"Linux\")\n .reserved(true)\n .sku(PlanSkuArgs.builder()\n .tier(\"Dynamic\")\n .size(\"Y1\")\n .build())\n .build());\n\n var exampleFunctionApp = new FunctionApp(\"exampleFunctionApp\", FunctionAppArgs.builder()\n .name(\"test-azure-functions\")\n .location(example.location())\n .resourceGroupName(example.name())\n .appServicePlanId(examplePlan.id())\n .storageAccountName(exampleAccount.name())\n .storageAccountAccessKey(exampleAccount.primaryAccessKey())\n .osType(\"linux\")\n .version(\"~3\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: azure:core:ResourceGroup\n properties:\n name: azure-functions-cptest-rg\n location: West Europe\n exampleAccount:\n type: azure:storage:Account\n name: example\n properties:\n name: functionsapptestsa\n resourceGroupName: ${example.name}\n location: ${example.location}\n accountTier: Standard\n accountReplicationType: LRS\n examplePlan:\n type: azure:appservice:Plan\n name: example\n properties:\n name: azure-functions-test-service-plan\n location: ${example.location}\n resourceGroupName: ${example.name}\n kind: Linux\n reserved: true\n sku:\n tier: Dynamic\n size: Y1\n exampleFunctionApp:\n type: azure:appservice:FunctionApp\n name: example\n properties:\n name: test-azure-functions\n location: ${example.location}\n resourceGroupName: ${example.name}\n appServicePlanId: ${examplePlan.id}\n storageAccountName: ${exampleAccount.name}\n storageAccountAccessKey: ${exampleAccount.primaryAccessKey}\n osType: linux\n version: ~3\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n\u003e **Note:** Version `~3` or `~4` is required for Linux Function Apps.\n\n\n### Python In A Consumption Plan)\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azure.core.ResourceGroup;\nimport com.pulumi.azure.core.ResourceGroupArgs;\nimport com.pulumi.azure.storage.Account;\nimport com.pulumi.azure.storage.AccountArgs;\nimport com.pulumi.azure.appservice.Plan;\nimport com.pulumi.azure.appservice.PlanArgs;\nimport com.pulumi.azure.appservice.inputs.PlanSkuArgs;\nimport com.pulumi.azure.appservice.FunctionApp;\nimport com.pulumi.azure.appservice.FunctionAppArgs;\nimport com.pulumi.azure.appservice.inputs.FunctionAppSiteConfigArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ResourceGroup(\"example\", ResourceGroupArgs.builder()\n .name(\"azure-functions-example-rg\")\n .location(\"West Europe\")\n .build());\n\n var exampleAccount = new Account(\"exampleAccount\", AccountArgs.builder()\n .name(\"functionsappexamlpesa\")\n .resourceGroupName(example.name())\n .location(example.location())\n .accountTier(\"Standard\")\n .accountReplicationType(\"LRS\")\n .build());\n\n var examplePlan = new Plan(\"examplePlan\", PlanArgs.builder()\n .name(\"azure-functions-example-sp\")\n .location(example.location())\n .resourceGroupName(example.name())\n .kind(\"Linux\")\n .reserved(true)\n .sku(PlanSkuArgs.builder()\n .tier(\"Dynamic\")\n .size(\"Y1\")\n .build())\n .build());\n\n var exampleFunctionApp = new FunctionApp(\"exampleFunctionApp\", FunctionAppArgs.builder()\n .name(\"example-azure-function\")\n .location(example.location())\n .resourceGroupName(example.name())\n .appServicePlanId(examplePlan.id())\n .storageAccountName(exampleAccount.name())\n .storageAccountAccessKey(exampleAccount.primaryAccessKey())\n .osType(\"linux\")\n .version(\"~4\")\n .appSettings(Map.of(\"FUNCTIONS_WORKER_RUNTIME\", \"python\"))\n .siteConfig(FunctionAppSiteConfigArgs.builder()\n .linuxFxVersion(\"python|3.9\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: azure:core:ResourceGroup\n properties:\n name: azure-functions-example-rg\n location: West Europe\n exampleAccount:\n type: azure:storage:Account\n name: example\n properties:\n name: functionsappexamlpesa\n resourceGroupName: ${example.name}\n location: ${example.location}\n accountTier: Standard\n accountReplicationType: LRS\n examplePlan:\n type: azure:appservice:Plan\n name: example\n properties:\n name: azure-functions-example-sp\n location: ${example.location}\n resourceGroupName: ${example.name}\n kind: Linux\n reserved: true\n sku:\n tier: Dynamic\n size: Y1\n exampleFunctionApp:\n type: azure:appservice:FunctionApp\n name: example\n properties:\n name: example-azure-function\n location: ${example.location}\n resourceGroupName: ${example.name}\n appServicePlanId: ${examplePlan.id}\n storageAccountName: ${exampleAccount.name}\n storageAccountAccessKey: ${exampleAccount.primaryAccessKey}\n osType: linux\n version: ~4\n appSettings:\n - FUNCTIONS_WORKER_RUNTIME: python\n siteConfig:\n linuxFxVersion: python|3.9\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n\u003e **Note:** The Python runtime is only supported on a Linux based hosting plan. See [the documentation for additional information](https://docs.microsoft.com/azure/azure-functions/functions-reference-python).\n\n## Import\n\nFunction Apps can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:appservice/functionApp:FunctionApp functionapp1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Web/sites/functionapp1\n```\n\n", + "description": "Manages a Function App.\n\n!\u003e **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.appservice.LinuxFunctionApp` and `azure.appservice.WindowsFunctionApp` resources instead.\n\n\u003e **Note:** To connect an Azure Function App and a subnet within the same region `azure.appservice.VirtualNetworkSwiftConnection` can be used.\nFor an example, check the `azure.appservice.VirtualNetworkSwiftConnection` documentation.\n\n## Example Usage\n\n### With App Service Plan)\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\n\nconst example = new azure.core.ResourceGroup(\"example\", {\n name: \"azure-functions-test-rg\",\n location: \"West Europe\",\n});\nconst exampleAccount = new azure.storage.Account(\"example\", {\n name: \"functionsapptestsa\",\n resourceGroupName: example.name,\n location: example.location,\n accountTier: \"Standard\",\n accountReplicationType: \"LRS\",\n});\nconst examplePlan = new azure.appservice.Plan(\"example\", {\n name: \"azure-functions-test-service-plan\",\n location: example.location,\n resourceGroupName: example.name,\n sku: {\n tier: \"Standard\",\n size: \"S1\",\n },\n});\nconst exampleFunctionApp = new azure.appservice.FunctionApp(\"example\", {\n name: \"test-azure-functions\",\n location: example.location,\n resourceGroupName: example.name,\n appServicePlanId: examplePlan.id,\n storageAccountName: exampleAccount.name,\n storageAccountAccessKey: exampleAccount.primaryAccessKey,\n});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\n\nexample = azure.core.ResourceGroup(\"example\",\n name=\"azure-functions-test-rg\",\n location=\"West Europe\")\nexample_account = azure.storage.Account(\"example\",\n name=\"functionsapptestsa\",\n resource_group_name=example.name,\n location=example.location,\n account_tier=\"Standard\",\n account_replication_type=\"LRS\")\nexample_plan = azure.appservice.Plan(\"example\",\n name=\"azure-functions-test-service-plan\",\n location=example.location,\n resource_group_name=example.name,\n sku={\n \"tier\": \"Standard\",\n \"size\": \"S1\",\n })\nexample_function_app = azure.appservice.FunctionApp(\"example\",\n name=\"test-azure-functions\",\n location=example.location,\n resource_group_name=example.name,\n app_service_plan_id=example_plan.id,\n storage_account_name=example_account.name,\n storage_account_access_key=example_account.primary_access_key)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Azure.Core.ResourceGroup(\"example\", new()\n {\n Name = \"azure-functions-test-rg\",\n Location = \"West Europe\",\n });\n\n var exampleAccount = new Azure.Storage.Account(\"example\", new()\n {\n Name = \"functionsapptestsa\",\n ResourceGroupName = example.Name,\n Location = example.Location,\n AccountTier = \"Standard\",\n AccountReplicationType = \"LRS\",\n });\n\n var examplePlan = new Azure.AppService.Plan(\"example\", new()\n {\n Name = \"azure-functions-test-service-plan\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n Sku = new Azure.AppService.Inputs.PlanSkuArgs\n {\n Tier = \"Standard\",\n Size = \"S1\",\n },\n });\n\n var exampleFunctionApp = new Azure.AppService.FunctionApp(\"example\", new()\n {\n Name = \"test-azure-functions\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n AppServicePlanId = examplePlan.Id,\n StorageAccountName = exampleAccount.Name,\n StorageAccountAccessKey = exampleAccount.PrimaryAccessKey,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/appservice\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := core.NewResourceGroup(ctx, \"example\", \u0026core.ResourceGroupArgs{\n\t\t\tName: pulumi.String(\"azure-functions-test-rg\"),\n\t\t\tLocation: pulumi.String(\"West Europe\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleAccount, err := storage.NewAccount(ctx, \"example\", \u0026storage.AccountArgs{\n\t\t\tName: pulumi.String(\"functionsapptestsa\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tLocation: example.Location,\n\t\t\tAccountTier: pulumi.String(\"Standard\"),\n\t\t\tAccountReplicationType: pulumi.String(\"LRS\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texamplePlan, err := appservice.NewPlan(ctx, \"example\", \u0026appservice.PlanArgs{\n\t\t\tName: pulumi.String(\"azure-functions-test-service-plan\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tSku: \u0026appservice.PlanSkuArgs{\n\t\t\t\tTier: pulumi.String(\"Standard\"),\n\t\t\t\tSize: pulumi.String(\"S1\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = appservice.NewFunctionApp(ctx, \"example\", \u0026appservice.FunctionAppArgs{\n\t\t\tName: pulumi.String(\"test-azure-functions\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tAppServicePlanId: examplePlan.ID(),\n\t\t\tStorageAccountName: exampleAccount.Name,\n\t\t\tStorageAccountAccessKey: exampleAccount.PrimaryAccessKey,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azure.core.ResourceGroup;\nimport com.pulumi.azure.core.ResourceGroupArgs;\nimport com.pulumi.azure.storage.Account;\nimport com.pulumi.azure.storage.AccountArgs;\nimport com.pulumi.azure.appservice.Plan;\nimport com.pulumi.azure.appservice.PlanArgs;\nimport com.pulumi.azure.appservice.inputs.PlanSkuArgs;\nimport com.pulumi.azure.appservice.FunctionApp;\nimport com.pulumi.azure.appservice.FunctionAppArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ResourceGroup(\"example\", ResourceGroupArgs.builder()\n .name(\"azure-functions-test-rg\")\n .location(\"West Europe\")\n .build());\n\n var exampleAccount = new Account(\"exampleAccount\", AccountArgs.builder()\n .name(\"functionsapptestsa\")\n .resourceGroupName(example.name())\n .location(example.location())\n .accountTier(\"Standard\")\n .accountReplicationType(\"LRS\")\n .build());\n\n var examplePlan = new Plan(\"examplePlan\", PlanArgs.builder()\n .name(\"azure-functions-test-service-plan\")\n .location(example.location())\n .resourceGroupName(example.name())\n .sku(PlanSkuArgs.builder()\n .tier(\"Standard\")\n .size(\"S1\")\n .build())\n .build());\n\n var exampleFunctionApp = new FunctionApp(\"exampleFunctionApp\", FunctionAppArgs.builder()\n .name(\"test-azure-functions\")\n .location(example.location())\n .resourceGroupName(example.name())\n .appServicePlanId(examplePlan.id())\n .storageAccountName(exampleAccount.name())\n .storageAccountAccessKey(exampleAccount.primaryAccessKey())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: azure:core:ResourceGroup\n properties:\n name: azure-functions-test-rg\n location: West Europe\n exampleAccount:\n type: azure:storage:Account\n name: example\n properties:\n name: functionsapptestsa\n resourceGroupName: ${example.name}\n location: ${example.location}\n accountTier: Standard\n accountReplicationType: LRS\n examplePlan:\n type: azure:appservice:Plan\n name: example\n properties:\n name: azure-functions-test-service-plan\n location: ${example.location}\n resourceGroupName: ${example.name}\n sku:\n tier: Standard\n size: S1\n exampleFunctionApp:\n type: azure:appservice:FunctionApp\n name: example\n properties:\n name: test-azure-functions\n location: ${example.location}\n resourceGroupName: ${example.name}\n appServicePlanId: ${examplePlan.id}\n storageAccountName: ${exampleAccount.name}\n storageAccountAccessKey: ${exampleAccount.primaryAccessKey}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n\n### In A Consumption Plan)\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\n\nconst example = new azure.core.ResourceGroup(\"example\", {\n name: \"azure-functions-cptest-rg\",\n location: \"West Europe\",\n});\nconst exampleAccount = new azure.storage.Account(\"example\", {\n name: \"functionsapptestsa\",\n resourceGroupName: example.name,\n location: example.location,\n accountTier: \"Standard\",\n accountReplicationType: \"LRS\",\n});\nconst examplePlan = new azure.appservice.Plan(\"example\", {\n name: \"azure-functions-test-service-plan\",\n location: example.location,\n resourceGroupName: example.name,\n kind: \"FunctionApp\",\n sku: {\n tier: \"Dynamic\",\n size: \"Y1\",\n },\n});\nconst exampleFunctionApp = new azure.appservice.FunctionApp(\"example\", {\n name: \"test-azure-functions\",\n location: example.location,\n resourceGroupName: example.name,\n appServicePlanId: examplePlan.id,\n storageAccountName: exampleAccount.name,\n storageAccountAccessKey: exampleAccount.primaryAccessKey,\n});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\n\nexample = azure.core.ResourceGroup(\"example\",\n name=\"azure-functions-cptest-rg\",\n location=\"West Europe\")\nexample_account = azure.storage.Account(\"example\",\n name=\"functionsapptestsa\",\n resource_group_name=example.name,\n location=example.location,\n account_tier=\"Standard\",\n account_replication_type=\"LRS\")\nexample_plan = azure.appservice.Plan(\"example\",\n name=\"azure-functions-test-service-plan\",\n location=example.location,\n resource_group_name=example.name,\n kind=\"FunctionApp\",\n sku={\n \"tier\": \"Dynamic\",\n \"size\": \"Y1\",\n })\nexample_function_app = azure.appservice.FunctionApp(\"example\",\n name=\"test-azure-functions\",\n location=example.location,\n resource_group_name=example.name,\n app_service_plan_id=example_plan.id,\n storage_account_name=example_account.name,\n storage_account_access_key=example_account.primary_access_key)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Azure.Core.ResourceGroup(\"example\", new()\n {\n Name = \"azure-functions-cptest-rg\",\n Location = \"West Europe\",\n });\n\n var exampleAccount = new Azure.Storage.Account(\"example\", new()\n {\n Name = \"functionsapptestsa\",\n ResourceGroupName = example.Name,\n Location = example.Location,\n AccountTier = \"Standard\",\n AccountReplicationType = \"LRS\",\n });\n\n var examplePlan = new Azure.AppService.Plan(\"example\", new()\n {\n Name = \"azure-functions-test-service-plan\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n Kind = \"FunctionApp\",\n Sku = new Azure.AppService.Inputs.PlanSkuArgs\n {\n Tier = \"Dynamic\",\n Size = \"Y1\",\n },\n });\n\n var exampleFunctionApp = new Azure.AppService.FunctionApp(\"example\", new()\n {\n Name = \"test-azure-functions\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n AppServicePlanId = examplePlan.Id,\n StorageAccountName = exampleAccount.Name,\n StorageAccountAccessKey = exampleAccount.PrimaryAccessKey,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/appservice\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := core.NewResourceGroup(ctx, \"example\", \u0026core.ResourceGroupArgs{\n\t\t\tName: pulumi.String(\"azure-functions-cptest-rg\"),\n\t\t\tLocation: pulumi.String(\"West Europe\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleAccount, err := storage.NewAccount(ctx, \"example\", \u0026storage.AccountArgs{\n\t\t\tName: pulumi.String(\"functionsapptestsa\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tLocation: example.Location,\n\t\t\tAccountTier: pulumi.String(\"Standard\"),\n\t\t\tAccountReplicationType: pulumi.String(\"LRS\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texamplePlan, err := appservice.NewPlan(ctx, \"example\", \u0026appservice.PlanArgs{\n\t\t\tName: pulumi.String(\"azure-functions-test-service-plan\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tKind: pulumi.Any(\"FunctionApp\"),\n\t\t\tSku: \u0026appservice.PlanSkuArgs{\n\t\t\t\tTier: pulumi.String(\"Dynamic\"),\n\t\t\t\tSize: pulumi.String(\"Y1\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = appservice.NewFunctionApp(ctx, \"example\", \u0026appservice.FunctionAppArgs{\n\t\t\tName: pulumi.String(\"test-azure-functions\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tAppServicePlanId: examplePlan.ID(),\n\t\t\tStorageAccountName: exampleAccount.Name,\n\t\t\tStorageAccountAccessKey: exampleAccount.PrimaryAccessKey,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azure.core.ResourceGroup;\nimport com.pulumi.azure.core.ResourceGroupArgs;\nimport com.pulumi.azure.storage.Account;\nimport com.pulumi.azure.storage.AccountArgs;\nimport com.pulumi.azure.appservice.Plan;\nimport com.pulumi.azure.appservice.PlanArgs;\nimport com.pulumi.azure.appservice.inputs.PlanSkuArgs;\nimport com.pulumi.azure.appservice.FunctionApp;\nimport com.pulumi.azure.appservice.FunctionAppArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ResourceGroup(\"example\", ResourceGroupArgs.builder()\n .name(\"azure-functions-cptest-rg\")\n .location(\"West Europe\")\n .build());\n\n var exampleAccount = new Account(\"exampleAccount\", AccountArgs.builder()\n .name(\"functionsapptestsa\")\n .resourceGroupName(example.name())\n .location(example.location())\n .accountTier(\"Standard\")\n .accountReplicationType(\"LRS\")\n .build());\n\n var examplePlan = new Plan(\"examplePlan\", PlanArgs.builder()\n .name(\"azure-functions-test-service-plan\")\n .location(example.location())\n .resourceGroupName(example.name())\n .kind(\"FunctionApp\")\n .sku(PlanSkuArgs.builder()\n .tier(\"Dynamic\")\n .size(\"Y1\")\n .build())\n .build());\n\n var exampleFunctionApp = new FunctionApp(\"exampleFunctionApp\", FunctionAppArgs.builder()\n .name(\"test-azure-functions\")\n .location(example.location())\n .resourceGroupName(example.name())\n .appServicePlanId(examplePlan.id())\n .storageAccountName(exampleAccount.name())\n .storageAccountAccessKey(exampleAccount.primaryAccessKey())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: azure:core:ResourceGroup\n properties:\n name: azure-functions-cptest-rg\n location: West Europe\n exampleAccount:\n type: azure:storage:Account\n name: example\n properties:\n name: functionsapptestsa\n resourceGroupName: ${example.name}\n location: ${example.location}\n accountTier: Standard\n accountReplicationType: LRS\n examplePlan:\n type: azure:appservice:Plan\n name: example\n properties:\n name: azure-functions-test-service-plan\n location: ${example.location}\n resourceGroupName: ${example.name}\n kind: FunctionApp\n sku:\n tier: Dynamic\n size: Y1\n exampleFunctionApp:\n type: azure:appservice:FunctionApp\n name: example\n properties:\n name: test-azure-functions\n location: ${example.location}\n resourceGroupName: ${example.name}\n appServicePlanId: ${examplePlan.id}\n storageAccountName: ${exampleAccount.name}\n storageAccountAccessKey: ${exampleAccount.primaryAccessKey}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n\n### Linux)\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\n\nconst example = new azure.core.ResourceGroup(\"example\", {\n name: \"azure-functions-cptest-rg\",\n location: \"West Europe\",\n});\nconst exampleAccount = new azure.storage.Account(\"example\", {\n name: \"functionsapptestsa\",\n resourceGroupName: example.name,\n location: example.location,\n accountTier: \"Standard\",\n accountReplicationType: \"LRS\",\n});\nconst examplePlan = new azure.appservice.Plan(\"example\", {\n name: \"azure-functions-test-service-plan\",\n location: example.location,\n resourceGroupName: example.name,\n kind: \"Linux\",\n reserved: true,\n sku: {\n tier: \"Dynamic\",\n size: \"Y1\",\n },\n});\nconst exampleFunctionApp = new azure.appservice.FunctionApp(\"example\", {\n name: \"test-azure-functions\",\n location: example.location,\n resourceGroupName: example.name,\n appServicePlanId: examplePlan.id,\n storageAccountName: exampleAccount.name,\n storageAccountAccessKey: exampleAccount.primaryAccessKey,\n osType: \"linux\",\n version: \"~3\",\n});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\n\nexample = azure.core.ResourceGroup(\"example\",\n name=\"azure-functions-cptest-rg\",\n location=\"West Europe\")\nexample_account = azure.storage.Account(\"example\",\n name=\"functionsapptestsa\",\n resource_group_name=example.name,\n location=example.location,\n account_tier=\"Standard\",\n account_replication_type=\"LRS\")\nexample_plan = azure.appservice.Plan(\"example\",\n name=\"azure-functions-test-service-plan\",\n location=example.location,\n resource_group_name=example.name,\n kind=\"Linux\",\n reserved=True,\n sku={\n \"tier\": \"Dynamic\",\n \"size\": \"Y1\",\n })\nexample_function_app = azure.appservice.FunctionApp(\"example\",\n name=\"test-azure-functions\",\n location=example.location,\n resource_group_name=example.name,\n app_service_plan_id=example_plan.id,\n storage_account_name=example_account.name,\n storage_account_access_key=example_account.primary_access_key,\n os_type=\"linux\",\n version=\"~3\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Azure.Core.ResourceGroup(\"example\", new()\n {\n Name = \"azure-functions-cptest-rg\",\n Location = \"West Europe\",\n });\n\n var exampleAccount = new Azure.Storage.Account(\"example\", new()\n {\n Name = \"functionsapptestsa\",\n ResourceGroupName = example.Name,\n Location = example.Location,\n AccountTier = \"Standard\",\n AccountReplicationType = \"LRS\",\n });\n\n var examplePlan = new Azure.AppService.Plan(\"example\", new()\n {\n Name = \"azure-functions-test-service-plan\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n Kind = \"Linux\",\n Reserved = true,\n Sku = new Azure.AppService.Inputs.PlanSkuArgs\n {\n Tier = \"Dynamic\",\n Size = \"Y1\",\n },\n });\n\n var exampleFunctionApp = new Azure.AppService.FunctionApp(\"example\", new()\n {\n Name = \"test-azure-functions\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n AppServicePlanId = examplePlan.Id,\n StorageAccountName = exampleAccount.Name,\n StorageAccountAccessKey = exampleAccount.PrimaryAccessKey,\n OsType = \"linux\",\n Version = \"~3\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/appservice\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := core.NewResourceGroup(ctx, \"example\", \u0026core.ResourceGroupArgs{\n\t\t\tName: pulumi.String(\"azure-functions-cptest-rg\"),\n\t\t\tLocation: pulumi.String(\"West Europe\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleAccount, err := storage.NewAccount(ctx, \"example\", \u0026storage.AccountArgs{\n\t\t\tName: pulumi.String(\"functionsapptestsa\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tLocation: example.Location,\n\t\t\tAccountTier: pulumi.String(\"Standard\"),\n\t\t\tAccountReplicationType: pulumi.String(\"LRS\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texamplePlan, err := appservice.NewPlan(ctx, \"example\", \u0026appservice.PlanArgs{\n\t\t\tName: pulumi.String(\"azure-functions-test-service-plan\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tKind: pulumi.Any(\"Linux\"),\n\t\t\tReserved: pulumi.Bool(true),\n\t\t\tSku: \u0026appservice.PlanSkuArgs{\n\t\t\t\tTier: pulumi.String(\"Dynamic\"),\n\t\t\t\tSize: pulumi.String(\"Y1\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = appservice.NewFunctionApp(ctx, \"example\", \u0026appservice.FunctionAppArgs{\n\t\t\tName: pulumi.String(\"test-azure-functions\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tAppServicePlanId: examplePlan.ID(),\n\t\t\tStorageAccountName: exampleAccount.Name,\n\t\t\tStorageAccountAccessKey: exampleAccount.PrimaryAccessKey,\n\t\t\tOsType: pulumi.String(\"linux\"),\n\t\t\tVersion: pulumi.String(\"~3\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azure.core.ResourceGroup;\nimport com.pulumi.azure.core.ResourceGroupArgs;\nimport com.pulumi.azure.storage.Account;\nimport com.pulumi.azure.storage.AccountArgs;\nimport com.pulumi.azure.appservice.Plan;\nimport com.pulumi.azure.appservice.PlanArgs;\nimport com.pulumi.azure.appservice.inputs.PlanSkuArgs;\nimport com.pulumi.azure.appservice.FunctionApp;\nimport com.pulumi.azure.appservice.FunctionAppArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ResourceGroup(\"example\", ResourceGroupArgs.builder()\n .name(\"azure-functions-cptest-rg\")\n .location(\"West Europe\")\n .build());\n\n var exampleAccount = new Account(\"exampleAccount\", AccountArgs.builder()\n .name(\"functionsapptestsa\")\n .resourceGroupName(example.name())\n .location(example.location())\n .accountTier(\"Standard\")\n .accountReplicationType(\"LRS\")\n .build());\n\n var examplePlan = new Plan(\"examplePlan\", PlanArgs.builder()\n .name(\"azure-functions-test-service-plan\")\n .location(example.location())\n .resourceGroupName(example.name())\n .kind(\"Linux\")\n .reserved(true)\n .sku(PlanSkuArgs.builder()\n .tier(\"Dynamic\")\n .size(\"Y1\")\n .build())\n .build());\n\n var exampleFunctionApp = new FunctionApp(\"exampleFunctionApp\", FunctionAppArgs.builder()\n .name(\"test-azure-functions\")\n .location(example.location())\n .resourceGroupName(example.name())\n .appServicePlanId(examplePlan.id())\n .storageAccountName(exampleAccount.name())\n .storageAccountAccessKey(exampleAccount.primaryAccessKey())\n .osType(\"linux\")\n .version(\"~3\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: azure:core:ResourceGroup\n properties:\n name: azure-functions-cptest-rg\n location: West Europe\n exampleAccount:\n type: azure:storage:Account\n name: example\n properties:\n name: functionsapptestsa\n resourceGroupName: ${example.name}\n location: ${example.location}\n accountTier: Standard\n accountReplicationType: LRS\n examplePlan:\n type: azure:appservice:Plan\n name: example\n properties:\n name: azure-functions-test-service-plan\n location: ${example.location}\n resourceGroupName: ${example.name}\n kind: Linux\n reserved: true\n sku:\n tier: Dynamic\n size: Y1\n exampleFunctionApp:\n type: azure:appservice:FunctionApp\n name: example\n properties:\n name: test-azure-functions\n location: ${example.location}\n resourceGroupName: ${example.name}\n appServicePlanId: ${examplePlan.id}\n storageAccountName: ${exampleAccount.name}\n storageAccountAccessKey: ${exampleAccount.primaryAccessKey}\n osType: linux\n version: ~3\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n\u003e **Note:** Version `~3` or `~4` is required for Linux Function Apps.\n\n\n### Python In A Consumption Plan)\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azure.core.ResourceGroup;\nimport com.pulumi.azure.core.ResourceGroupArgs;\nimport com.pulumi.azure.storage.Account;\nimport com.pulumi.azure.storage.AccountArgs;\nimport com.pulumi.azure.appservice.Plan;\nimport com.pulumi.azure.appservice.PlanArgs;\nimport com.pulumi.azure.appservice.inputs.PlanSkuArgs;\nimport com.pulumi.azure.appservice.FunctionApp;\nimport com.pulumi.azure.appservice.FunctionAppArgs;\nimport com.pulumi.azure.appservice.inputs.FunctionAppSiteConfigArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ResourceGroup(\"example\", ResourceGroupArgs.builder()\n .name(\"azure-functions-example-rg\")\n .location(\"West Europe\")\n .build());\n\n var exampleAccount = new Account(\"exampleAccount\", AccountArgs.builder()\n .name(\"functionsappexamlpesa\")\n .resourceGroupName(example.name())\n .location(example.location())\n .accountTier(\"Standard\")\n .accountReplicationType(\"LRS\")\n .build());\n\n var examplePlan = new Plan(\"examplePlan\", PlanArgs.builder()\n .name(\"azure-functions-example-sp\")\n .location(example.location())\n .resourceGroupName(example.name())\n .kind(\"Linux\")\n .reserved(true)\n .sku(PlanSkuArgs.builder()\n .tier(\"Dynamic\")\n .size(\"Y1\")\n .build())\n .build());\n\n var exampleFunctionApp = new FunctionApp(\"exampleFunctionApp\", FunctionAppArgs.builder()\n .name(\"example-azure-function\")\n .location(example.location())\n .resourceGroupName(example.name())\n .appServicePlanId(examplePlan.id())\n .storageAccountName(exampleAccount.name())\n .storageAccountAccessKey(exampleAccount.primaryAccessKey())\n .osType(\"linux\")\n .version(\"~4\")\n .appSettings(Map.of(\"FUNCTIONS_WORKER_RUNTIME\", \"python\"))\n .siteConfig(FunctionAppSiteConfigArgs.builder()\n .linuxFxVersion(\"python|3.9\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: azure:core:ResourceGroup\n properties:\n name: azure-functions-example-rg\n location: West Europe\n exampleAccount:\n type: azure:storage:Account\n name: example\n properties:\n name: functionsappexamlpesa\n resourceGroupName: ${example.name}\n location: ${example.location}\n accountTier: Standard\n accountReplicationType: LRS\n examplePlan:\n type: azure:appservice:Plan\n name: example\n properties:\n name: azure-functions-example-sp\n location: ${example.location}\n resourceGroupName: ${example.name}\n kind: Linux\n reserved: true\n sku:\n tier: Dynamic\n size: Y1\n exampleFunctionApp:\n type: azure:appservice:FunctionApp\n name: example\n properties:\n name: example-azure-function\n location: ${example.location}\n resourceGroupName: ${example.name}\n appServicePlanId: ${examplePlan.id}\n storageAccountName: ${exampleAccount.name}\n storageAccountAccessKey: ${exampleAccount.primaryAccessKey}\n osType: linux\n version: ~4\n appSettings:\n - FUNCTIONS_WORKER_RUNTIME: python\n siteConfig:\n linuxFxVersion: python|3.9\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n\u003e **Note:** The Python runtime is only supported on a Linux based hosting plan. See [the documentation for additional information](https://docs.microsoft.com/azure/azure-functions/functions-reference-python).\n\n## Import\n\nFunction Apps can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:appservice/functionApp:FunctionApp functionapp1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Web/sites/functionapp1\n```\n\n", "properties": { "appServicePlanId": { "type": "string", @@ -122567,7 +122567,7 @@ } }, "azure:appservice/functionAppSlot:FunctionAppSlot": { - "description": "Manages a Function App deployment Slot.\n\n!\u003e **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.appservice.LinuxFunctionAppSlot` resources instead.\n\n## Example Usage\n\n### With App Service Plan)\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\n\nconst example = new azure.core.ResourceGroup(\"example\", {\n name: \"azure-functions-test-rg\",\n location: \"West Europe\",\n});\nconst exampleAccount = new azure.storage.Account(\"example\", {\n name: \"functionsapptestsa\",\n resourceGroupName: example.name,\n location: example.location,\n accountTier: \"Standard\",\n accountReplicationType: \"LRS\",\n});\nconst examplePlan = new azure.appservice.Plan(\"example\", {\n name: \"azure-functions-test-service-plan\",\n location: example.location,\n resourceGroupName: example.name,\n sku: {\n tier: \"Standard\",\n size: \"S1\",\n },\n});\nconst exampleFunctionApp = new azure.appservice.FunctionApp(\"example\", {\n name: \"test-azure-functions\",\n location: example.location,\n resourceGroupName: example.name,\n appServicePlanId: examplePlan.id,\n storageAccountName: exampleAccount.name,\n storageAccountAccessKey: exampleAccount.primaryAccessKey,\n});\nconst exampleFunctionAppSlot = new azure.appservice.FunctionAppSlot(\"example\", {\n name: \"test-azure-functions_slot\",\n location: example.location,\n resourceGroupName: example.name,\n appServicePlanId: examplePlan.id,\n functionAppName: exampleFunctionApp.name,\n storageAccountName: exampleAccount.name,\n storageAccountAccessKey: exampleAccount.primaryAccessKey,\n});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\n\nexample = azure.core.ResourceGroup(\"example\",\n name=\"azure-functions-test-rg\",\n location=\"West Europe\")\nexample_account = azure.storage.Account(\"example\",\n name=\"functionsapptestsa\",\n resource_group_name=example.name,\n location=example.location,\n account_tier=\"Standard\",\n account_replication_type=\"LRS\")\nexample_plan = azure.appservice.Plan(\"example\",\n name=\"azure-functions-test-service-plan\",\n location=example.location,\n resource_group_name=example.name,\n sku={\n \"tier\": \"Standard\",\n \"size\": \"S1\",\n })\nexample_function_app = azure.appservice.FunctionApp(\"example\",\n name=\"test-azure-functions\",\n location=example.location,\n resource_group_name=example.name,\n app_service_plan_id=example_plan.id,\n storage_account_name=example_account.name,\n storage_account_access_key=example_account.primary_access_key)\nexample_function_app_slot = azure.appservice.FunctionAppSlot(\"example\",\n name=\"test-azure-functions_slot\",\n location=example.location,\n resource_group_name=example.name,\n app_service_plan_id=example_plan.id,\n function_app_name=example_function_app.name,\n storage_account_name=example_account.name,\n storage_account_access_key=example_account.primary_access_key)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Azure.Core.ResourceGroup(\"example\", new()\n {\n Name = \"azure-functions-test-rg\",\n Location = \"West Europe\",\n });\n\n var exampleAccount = new Azure.Storage.Account(\"example\", new()\n {\n Name = \"functionsapptestsa\",\n ResourceGroupName = example.Name,\n Location = example.Location,\n AccountTier = \"Standard\",\n AccountReplicationType = \"LRS\",\n });\n\n var examplePlan = new Azure.AppService.Plan(\"example\", new()\n {\n Name = \"azure-functions-test-service-plan\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n Sku = new Azure.AppService.Inputs.PlanSkuArgs\n {\n Tier = \"Standard\",\n Size = \"S1\",\n },\n });\n\n var exampleFunctionApp = new Azure.AppService.FunctionApp(\"example\", new()\n {\n Name = \"test-azure-functions\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n AppServicePlanId = examplePlan.Id,\n StorageAccountName = exampleAccount.Name,\n StorageAccountAccessKey = exampleAccount.PrimaryAccessKey,\n });\n\n var exampleFunctionAppSlot = new Azure.AppService.FunctionAppSlot(\"example\", new()\n {\n Name = \"test-azure-functions_slot\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n AppServicePlanId = examplePlan.Id,\n FunctionAppName = exampleFunctionApp.Name,\n StorageAccountName = exampleAccount.Name,\n StorageAccountAccessKey = exampleAccount.PrimaryAccessKey,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/appservice\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := core.NewResourceGroup(ctx, \"example\", \u0026core.ResourceGroupArgs{\n\t\t\tName: pulumi.String(\"azure-functions-test-rg\"),\n\t\t\tLocation: pulumi.String(\"West Europe\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleAccount, err := storage.NewAccount(ctx, \"example\", \u0026storage.AccountArgs{\n\t\t\tName: pulumi.String(\"functionsapptestsa\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tLocation: example.Location,\n\t\t\tAccountTier: pulumi.String(\"Standard\"),\n\t\t\tAccountReplicationType: pulumi.String(\"LRS\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texamplePlan, err := appservice.NewPlan(ctx, \"example\", \u0026appservice.PlanArgs{\n\t\t\tName: pulumi.String(\"azure-functions-test-service-plan\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tSku: \u0026appservice.PlanSkuArgs{\n\t\t\t\tTier: pulumi.String(\"Standard\"),\n\t\t\t\tSize: pulumi.String(\"S1\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleFunctionApp, err := appservice.NewFunctionApp(ctx, \"example\", \u0026appservice.FunctionAppArgs{\n\t\t\tName: pulumi.String(\"test-azure-functions\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tAppServicePlanId: examplePlan.ID(),\n\t\t\tStorageAccountName: exampleAccount.Name,\n\t\t\tStorageAccountAccessKey: exampleAccount.PrimaryAccessKey,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = appservice.NewFunctionAppSlot(ctx, \"example\", \u0026appservice.FunctionAppSlotArgs{\n\t\t\tName: pulumi.String(\"test-azure-functions_slot\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tAppServicePlanId: examplePlan.ID(),\n\t\t\tFunctionAppName: exampleFunctionApp.Name,\n\t\t\tStorageAccountName: exampleAccount.Name,\n\t\t\tStorageAccountAccessKey: exampleAccount.PrimaryAccessKey,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azure.core.ResourceGroup;\nimport com.pulumi.azure.core.ResourceGroupArgs;\nimport com.pulumi.azure.storage.Account;\nimport com.pulumi.azure.storage.AccountArgs;\nimport com.pulumi.azure.appservice.Plan;\nimport com.pulumi.azure.appservice.PlanArgs;\nimport com.pulumi.azure.appservice.inputs.PlanSkuArgs;\nimport com.pulumi.azure.appservice.FunctionApp;\nimport com.pulumi.azure.appservice.FunctionAppArgs;\nimport com.pulumi.azure.appservice.FunctionAppSlot;\nimport com.pulumi.azure.appservice.FunctionAppSlotArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ResourceGroup(\"example\", ResourceGroupArgs.builder()\n .name(\"azure-functions-test-rg\")\n .location(\"West Europe\")\n .build());\n\n var exampleAccount = new Account(\"exampleAccount\", AccountArgs.builder()\n .name(\"functionsapptestsa\")\n .resourceGroupName(example.name())\n .location(example.location())\n .accountTier(\"Standard\")\n .accountReplicationType(\"LRS\")\n .build());\n\n var examplePlan = new Plan(\"examplePlan\", PlanArgs.builder()\n .name(\"azure-functions-test-service-plan\")\n .location(example.location())\n .resourceGroupName(example.name())\n .sku(PlanSkuArgs.builder()\n .tier(\"Standard\")\n .size(\"S1\")\n .build())\n .build());\n\n var exampleFunctionApp = new FunctionApp(\"exampleFunctionApp\", FunctionAppArgs.builder()\n .name(\"test-azure-functions\")\n .location(example.location())\n .resourceGroupName(example.name())\n .appServicePlanId(examplePlan.id())\n .storageAccountName(exampleAccount.name())\n .storageAccountAccessKey(exampleAccount.primaryAccessKey())\n .build());\n\n var exampleFunctionAppSlot = new FunctionAppSlot(\"exampleFunctionAppSlot\", FunctionAppSlotArgs.builder()\n .name(\"test-azure-functions_slot\")\n .location(example.location())\n .resourceGroupName(example.name())\n .appServicePlanId(examplePlan.id())\n .functionAppName(exampleFunctionApp.name())\n .storageAccountName(exampleAccount.name())\n .storageAccountAccessKey(exampleAccount.primaryAccessKey())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: azure:core:ResourceGroup\n properties:\n name: azure-functions-test-rg\n location: West Europe\n exampleAccount:\n type: azure:storage:Account\n name: example\n properties:\n name: functionsapptestsa\n resourceGroupName: ${example.name}\n location: ${example.location}\n accountTier: Standard\n accountReplicationType: LRS\n examplePlan:\n type: azure:appservice:Plan\n name: example\n properties:\n name: azure-functions-test-service-plan\n location: ${example.location}\n resourceGroupName: ${example.name}\n sku:\n tier: Standard\n size: S1\n exampleFunctionApp:\n type: azure:appservice:FunctionApp\n name: example\n properties:\n name: test-azure-functions\n location: ${example.location}\n resourceGroupName: ${example.name}\n appServicePlanId: ${examplePlan.id}\n storageAccountName: ${exampleAccount.name}\n storageAccountAccessKey: ${exampleAccount.primaryAccessKey}\n exampleFunctionAppSlot:\n type: azure:appservice:FunctionAppSlot\n name: example\n properties:\n name: test-azure-functions_slot\n location: ${example.location}\n resourceGroupName: ${example.name}\n appServicePlanId: ${examplePlan.id}\n functionAppName: ${exampleFunctionApp.name}\n storageAccountName: ${exampleAccount.name}\n storageAccountAccessKey: ${exampleAccount.primaryAccessKey}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nFunction Apps Deployment Slots can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:appservice/functionAppSlot:FunctionAppSlot functionapp1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Web/sites/functionapp1/slots/staging\n```\n\n", + "description": "Manages a Function App deployment Slot.\n\n!\u003e **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.appservice.LinuxFunctionAppSlot` and `azure.appservice.WindowsFunctionAppSlot` resources instead.\n\n## Example Usage\n\n### With App Service Plan)\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\n\nconst example = new azure.core.ResourceGroup(\"example\", {\n name: \"azure-functions-test-rg\",\n location: \"West Europe\",\n});\nconst exampleAccount = new azure.storage.Account(\"example\", {\n name: \"functionsapptestsa\",\n resourceGroupName: example.name,\n location: example.location,\n accountTier: \"Standard\",\n accountReplicationType: \"LRS\",\n});\nconst examplePlan = new azure.appservice.Plan(\"example\", {\n name: \"azure-functions-test-service-plan\",\n location: example.location,\n resourceGroupName: example.name,\n sku: {\n tier: \"Standard\",\n size: \"S1\",\n },\n});\nconst exampleFunctionApp = new azure.appservice.FunctionApp(\"example\", {\n name: \"test-azure-functions\",\n location: example.location,\n resourceGroupName: example.name,\n appServicePlanId: examplePlan.id,\n storageAccountName: exampleAccount.name,\n storageAccountAccessKey: exampleAccount.primaryAccessKey,\n});\nconst exampleFunctionAppSlot = new azure.appservice.FunctionAppSlot(\"example\", {\n name: \"test-azure-functions_slot\",\n location: example.location,\n resourceGroupName: example.name,\n appServicePlanId: examplePlan.id,\n functionAppName: exampleFunctionApp.name,\n storageAccountName: exampleAccount.name,\n storageAccountAccessKey: exampleAccount.primaryAccessKey,\n});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\n\nexample = azure.core.ResourceGroup(\"example\",\n name=\"azure-functions-test-rg\",\n location=\"West Europe\")\nexample_account = azure.storage.Account(\"example\",\n name=\"functionsapptestsa\",\n resource_group_name=example.name,\n location=example.location,\n account_tier=\"Standard\",\n account_replication_type=\"LRS\")\nexample_plan = azure.appservice.Plan(\"example\",\n name=\"azure-functions-test-service-plan\",\n location=example.location,\n resource_group_name=example.name,\n sku={\n \"tier\": \"Standard\",\n \"size\": \"S1\",\n })\nexample_function_app = azure.appservice.FunctionApp(\"example\",\n name=\"test-azure-functions\",\n location=example.location,\n resource_group_name=example.name,\n app_service_plan_id=example_plan.id,\n storage_account_name=example_account.name,\n storage_account_access_key=example_account.primary_access_key)\nexample_function_app_slot = azure.appservice.FunctionAppSlot(\"example\",\n name=\"test-azure-functions_slot\",\n location=example.location,\n resource_group_name=example.name,\n app_service_plan_id=example_plan.id,\n function_app_name=example_function_app.name,\n storage_account_name=example_account.name,\n storage_account_access_key=example_account.primary_access_key)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Azure.Core.ResourceGroup(\"example\", new()\n {\n Name = \"azure-functions-test-rg\",\n Location = \"West Europe\",\n });\n\n var exampleAccount = new Azure.Storage.Account(\"example\", new()\n {\n Name = \"functionsapptestsa\",\n ResourceGroupName = example.Name,\n Location = example.Location,\n AccountTier = \"Standard\",\n AccountReplicationType = \"LRS\",\n });\n\n var examplePlan = new Azure.AppService.Plan(\"example\", new()\n {\n Name = \"azure-functions-test-service-plan\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n Sku = new Azure.AppService.Inputs.PlanSkuArgs\n {\n Tier = \"Standard\",\n Size = \"S1\",\n },\n });\n\n var exampleFunctionApp = new Azure.AppService.FunctionApp(\"example\", new()\n {\n Name = \"test-azure-functions\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n AppServicePlanId = examplePlan.Id,\n StorageAccountName = exampleAccount.Name,\n StorageAccountAccessKey = exampleAccount.PrimaryAccessKey,\n });\n\n var exampleFunctionAppSlot = new Azure.AppService.FunctionAppSlot(\"example\", new()\n {\n Name = \"test-azure-functions_slot\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n AppServicePlanId = examplePlan.Id,\n FunctionAppName = exampleFunctionApp.Name,\n StorageAccountName = exampleAccount.Name,\n StorageAccountAccessKey = exampleAccount.PrimaryAccessKey,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/appservice\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := core.NewResourceGroup(ctx, \"example\", \u0026core.ResourceGroupArgs{\n\t\t\tName: pulumi.String(\"azure-functions-test-rg\"),\n\t\t\tLocation: pulumi.String(\"West Europe\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleAccount, err := storage.NewAccount(ctx, \"example\", \u0026storage.AccountArgs{\n\t\t\tName: pulumi.String(\"functionsapptestsa\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tLocation: example.Location,\n\t\t\tAccountTier: pulumi.String(\"Standard\"),\n\t\t\tAccountReplicationType: pulumi.String(\"LRS\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texamplePlan, err := appservice.NewPlan(ctx, \"example\", \u0026appservice.PlanArgs{\n\t\t\tName: pulumi.String(\"azure-functions-test-service-plan\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tSku: \u0026appservice.PlanSkuArgs{\n\t\t\t\tTier: pulumi.String(\"Standard\"),\n\t\t\t\tSize: pulumi.String(\"S1\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleFunctionApp, err := appservice.NewFunctionApp(ctx, \"example\", \u0026appservice.FunctionAppArgs{\n\t\t\tName: pulumi.String(\"test-azure-functions\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tAppServicePlanId: examplePlan.ID(),\n\t\t\tStorageAccountName: exampleAccount.Name,\n\t\t\tStorageAccountAccessKey: exampleAccount.PrimaryAccessKey,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = appservice.NewFunctionAppSlot(ctx, \"example\", \u0026appservice.FunctionAppSlotArgs{\n\t\t\tName: pulumi.String(\"test-azure-functions_slot\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tAppServicePlanId: examplePlan.ID(),\n\t\t\tFunctionAppName: exampleFunctionApp.Name,\n\t\t\tStorageAccountName: exampleAccount.Name,\n\t\t\tStorageAccountAccessKey: exampleAccount.PrimaryAccessKey,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azure.core.ResourceGroup;\nimport com.pulumi.azure.core.ResourceGroupArgs;\nimport com.pulumi.azure.storage.Account;\nimport com.pulumi.azure.storage.AccountArgs;\nimport com.pulumi.azure.appservice.Plan;\nimport com.pulumi.azure.appservice.PlanArgs;\nimport com.pulumi.azure.appservice.inputs.PlanSkuArgs;\nimport com.pulumi.azure.appservice.FunctionApp;\nimport com.pulumi.azure.appservice.FunctionAppArgs;\nimport com.pulumi.azure.appservice.FunctionAppSlot;\nimport com.pulumi.azure.appservice.FunctionAppSlotArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ResourceGroup(\"example\", ResourceGroupArgs.builder()\n .name(\"azure-functions-test-rg\")\n .location(\"West Europe\")\n .build());\n\n var exampleAccount = new Account(\"exampleAccount\", AccountArgs.builder()\n .name(\"functionsapptestsa\")\n .resourceGroupName(example.name())\n .location(example.location())\n .accountTier(\"Standard\")\n .accountReplicationType(\"LRS\")\n .build());\n\n var examplePlan = new Plan(\"examplePlan\", PlanArgs.builder()\n .name(\"azure-functions-test-service-plan\")\n .location(example.location())\n .resourceGroupName(example.name())\n .sku(PlanSkuArgs.builder()\n .tier(\"Standard\")\n .size(\"S1\")\n .build())\n .build());\n\n var exampleFunctionApp = new FunctionApp(\"exampleFunctionApp\", FunctionAppArgs.builder()\n .name(\"test-azure-functions\")\n .location(example.location())\n .resourceGroupName(example.name())\n .appServicePlanId(examplePlan.id())\n .storageAccountName(exampleAccount.name())\n .storageAccountAccessKey(exampleAccount.primaryAccessKey())\n .build());\n\n var exampleFunctionAppSlot = new FunctionAppSlot(\"exampleFunctionAppSlot\", FunctionAppSlotArgs.builder()\n .name(\"test-azure-functions_slot\")\n .location(example.location())\n .resourceGroupName(example.name())\n .appServicePlanId(examplePlan.id())\n .functionAppName(exampleFunctionApp.name())\n .storageAccountName(exampleAccount.name())\n .storageAccountAccessKey(exampleAccount.primaryAccessKey())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: azure:core:ResourceGroup\n properties:\n name: azure-functions-test-rg\n location: West Europe\n exampleAccount:\n type: azure:storage:Account\n name: example\n properties:\n name: functionsapptestsa\n resourceGroupName: ${example.name}\n location: ${example.location}\n accountTier: Standard\n accountReplicationType: LRS\n examplePlan:\n type: azure:appservice:Plan\n name: example\n properties:\n name: azure-functions-test-service-plan\n location: ${example.location}\n resourceGroupName: ${example.name}\n sku:\n tier: Standard\n size: S1\n exampleFunctionApp:\n type: azure:appservice:FunctionApp\n name: example\n properties:\n name: test-azure-functions\n location: ${example.location}\n resourceGroupName: ${example.name}\n appServicePlanId: ${examplePlan.id}\n storageAccountName: ${exampleAccount.name}\n storageAccountAccessKey: ${exampleAccount.primaryAccessKey}\n exampleFunctionAppSlot:\n type: azure:appservice:FunctionAppSlot\n name: example\n properties:\n name: test-azure-functions_slot\n location: ${example.location}\n resourceGroupName: ${example.name}\n appServicePlanId: ${examplePlan.id}\n functionAppName: ${exampleFunctionApp.name}\n storageAccountName: ${exampleAccount.name}\n storageAccountAccessKey: ${exampleAccount.primaryAccessKey}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nFunction Apps Deployment Slots can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:appservice/functionAppSlot:FunctionAppSlot functionapp1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Web/sites/functionapp1/slots/staging\n```\n\n", "properties": { "appServicePlanId": { "type": "string", @@ -122923,7 +122923,7 @@ } }, "azure:appservice/hybridConnection:HybridConnection": { - "description": "Manages an App Service Hybrid Connection for an existing App Service, Relay and Service Bus.\n\n!\u003e **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.appservice.FunctionAppHybridConnection` resources instead.\n\n## Example Usage\n\nThis example provisions an App Service, a Relay Hybrid Connection, and a Service Bus using their outputs to create the App Service Hybrid Connection.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\n\nconst example = new azure.core.ResourceGroup(\"example\", {\n name: \"exampleResourceGroup1\",\n location: \"West Europe\",\n});\nconst examplePlan = new azure.appservice.Plan(\"example\", {\n name: \"exampleAppServicePlan1\",\n location: example.location,\n resourceGroupName: example.name,\n sku: {\n tier: \"Standard\",\n size: \"S1\",\n },\n});\nconst exampleAppService = new azure.appservice.AppService(\"example\", {\n name: \"exampleAppService1\",\n location: example.location,\n resourceGroupName: example.name,\n appServicePlanId: examplePlan.id,\n});\nconst exampleNamespace = new azure.relay.Namespace(\"example\", {\n name: \"exampleRN1\",\n location: example.location,\n resourceGroupName: example.name,\n skuName: \"Standard\",\n});\nconst exampleHybridConnection = new azure.relay.HybridConnection(\"example\", {\n name: \"exampleRHC1\",\n resourceGroupName: example.name,\n relayNamespaceName: exampleNamespace.name,\n userMetadata: \"examplemetadata\",\n});\nconst exampleHybridConnection2 = new azure.appservice.HybridConnection(\"example\", {\n appServiceName: exampleAppService.name,\n resourceGroupName: example.name,\n relayId: exampleHybridConnection.id,\n hostname: \"testhostname.example\",\n port: 8080,\n sendKeyName: \"exampleSharedAccessKey\",\n});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\n\nexample = azure.core.ResourceGroup(\"example\",\n name=\"exampleResourceGroup1\",\n location=\"West Europe\")\nexample_plan = azure.appservice.Plan(\"example\",\n name=\"exampleAppServicePlan1\",\n location=example.location,\n resource_group_name=example.name,\n sku={\n \"tier\": \"Standard\",\n \"size\": \"S1\",\n })\nexample_app_service = azure.appservice.AppService(\"example\",\n name=\"exampleAppService1\",\n location=example.location,\n resource_group_name=example.name,\n app_service_plan_id=example_plan.id)\nexample_namespace = azure.relay.Namespace(\"example\",\n name=\"exampleRN1\",\n location=example.location,\n resource_group_name=example.name,\n sku_name=\"Standard\")\nexample_hybrid_connection = azure.relay.HybridConnection(\"example\",\n name=\"exampleRHC1\",\n resource_group_name=example.name,\n relay_namespace_name=example_namespace.name,\n user_metadata=\"examplemetadata\")\nexample_hybrid_connection2 = azure.appservice.HybridConnection(\"example\",\n app_service_name=example_app_service.name,\n resource_group_name=example.name,\n relay_id=example_hybrid_connection.id,\n hostname=\"testhostname.example\",\n port=8080,\n send_key_name=\"exampleSharedAccessKey\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Azure.Core.ResourceGroup(\"example\", new()\n {\n Name = \"exampleResourceGroup1\",\n Location = \"West Europe\",\n });\n\n var examplePlan = new Azure.AppService.Plan(\"example\", new()\n {\n Name = \"exampleAppServicePlan1\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n Sku = new Azure.AppService.Inputs.PlanSkuArgs\n {\n Tier = \"Standard\",\n Size = \"S1\",\n },\n });\n\n var exampleAppService = new Azure.AppService.AppService(\"example\", new()\n {\n Name = \"exampleAppService1\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n AppServicePlanId = examplePlan.Id,\n });\n\n var exampleNamespace = new Azure.Relay.Namespace(\"example\", new()\n {\n Name = \"exampleRN1\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n SkuName = \"Standard\",\n });\n\n var exampleHybridConnection = new Azure.Relay.HybridConnection(\"example\", new()\n {\n Name = \"exampleRHC1\",\n ResourceGroupName = example.Name,\n RelayNamespaceName = exampleNamespace.Name,\n UserMetadata = \"examplemetadata\",\n });\n\n var exampleHybridConnection2 = new Azure.AppService.HybridConnection(\"example\", new()\n {\n AppServiceName = exampleAppService.Name,\n ResourceGroupName = example.Name,\n RelayId = exampleHybridConnection.Id,\n Hostname = \"testhostname.example\",\n Port = 8080,\n SendKeyName = \"exampleSharedAccessKey\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/appservice\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/relay\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := core.NewResourceGroup(ctx, \"example\", \u0026core.ResourceGroupArgs{\n\t\t\tName: pulumi.String(\"exampleResourceGroup1\"),\n\t\t\tLocation: pulumi.String(\"West Europe\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texamplePlan, err := appservice.NewPlan(ctx, \"example\", \u0026appservice.PlanArgs{\n\t\t\tName: pulumi.String(\"exampleAppServicePlan1\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tSku: \u0026appservice.PlanSkuArgs{\n\t\t\t\tTier: pulumi.String(\"Standard\"),\n\t\t\t\tSize: pulumi.String(\"S1\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleAppService, err := appservice.NewAppService(ctx, \"example\", \u0026appservice.AppServiceArgs{\n\t\t\tName: pulumi.String(\"exampleAppService1\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tAppServicePlanId: examplePlan.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleNamespace, err := relay.NewNamespace(ctx, \"example\", \u0026relay.NamespaceArgs{\n\t\t\tName: pulumi.String(\"exampleRN1\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tSkuName: pulumi.String(\"Standard\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleHybridConnection, err := relay.NewHybridConnection(ctx, \"example\", \u0026relay.HybridConnectionArgs{\n\t\t\tName: pulumi.String(\"exampleRHC1\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tRelayNamespaceName: exampleNamespace.Name,\n\t\t\tUserMetadata: pulumi.String(\"examplemetadata\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = appservice.NewHybridConnection(ctx, \"example\", \u0026appservice.HybridConnectionArgs{\n\t\t\tAppServiceName: exampleAppService.Name,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tRelayId: exampleHybridConnection.ID(),\n\t\t\tHostname: pulumi.String(\"testhostname.example\"),\n\t\t\tPort: pulumi.Int(8080),\n\t\t\tSendKeyName: pulumi.String(\"exampleSharedAccessKey\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azure.core.ResourceGroup;\nimport com.pulumi.azure.core.ResourceGroupArgs;\nimport com.pulumi.azure.appservice.Plan;\nimport com.pulumi.azure.appservice.PlanArgs;\nimport com.pulumi.azure.appservice.inputs.PlanSkuArgs;\nimport com.pulumi.azure.appservice.AppService;\nimport com.pulumi.azure.appservice.AppServiceArgs;\nimport com.pulumi.azure.relay.Namespace;\nimport com.pulumi.azure.relay.NamespaceArgs;\nimport com.pulumi.azure.relay.HybridConnection;\nimport com.pulumi.azure.relay.HybridConnectionArgs;\nimport com.pulumi.azure.appservice.HybridConnection;\nimport com.pulumi.azure.appservice.HybridConnectionArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ResourceGroup(\"example\", ResourceGroupArgs.builder()\n .name(\"exampleResourceGroup1\")\n .location(\"West Europe\")\n .build());\n\n var examplePlan = new Plan(\"examplePlan\", PlanArgs.builder()\n .name(\"exampleAppServicePlan1\")\n .location(example.location())\n .resourceGroupName(example.name())\n .sku(PlanSkuArgs.builder()\n .tier(\"Standard\")\n .size(\"S1\")\n .build())\n .build());\n\n var exampleAppService = new AppService(\"exampleAppService\", AppServiceArgs.builder()\n .name(\"exampleAppService1\")\n .location(example.location())\n .resourceGroupName(example.name())\n .appServicePlanId(examplePlan.id())\n .build());\n\n var exampleNamespace = new Namespace(\"exampleNamespace\", NamespaceArgs.builder()\n .name(\"exampleRN1\")\n .location(example.location())\n .resourceGroupName(example.name())\n .skuName(\"Standard\")\n .build());\n\n var exampleHybridConnection = new HybridConnection(\"exampleHybridConnection\", HybridConnectionArgs.builder()\n .name(\"exampleRHC1\")\n .resourceGroupName(example.name())\n .relayNamespaceName(exampleNamespace.name())\n .userMetadata(\"examplemetadata\")\n .build());\n\n var exampleHybridConnection2 = new HybridConnection(\"exampleHybridConnection2\", HybridConnectionArgs.builder()\n .appServiceName(exampleAppService.name())\n .resourceGroupName(example.name())\n .relayId(exampleHybridConnection.id())\n .hostname(\"testhostname.example\")\n .port(8080)\n .sendKeyName(\"exampleSharedAccessKey\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: azure:core:ResourceGroup\n properties:\n name: exampleResourceGroup1\n location: West Europe\n examplePlan:\n type: azure:appservice:Plan\n name: example\n properties:\n name: exampleAppServicePlan1\n location: ${example.location}\n resourceGroupName: ${example.name}\n sku:\n tier: Standard\n size: S1\n exampleAppService:\n type: azure:appservice:AppService\n name: example\n properties:\n name: exampleAppService1\n location: ${example.location}\n resourceGroupName: ${example.name}\n appServicePlanId: ${examplePlan.id}\n exampleNamespace:\n type: azure:relay:Namespace\n name: example\n properties:\n name: exampleRN1\n location: ${example.location}\n resourceGroupName: ${example.name}\n skuName: Standard\n exampleHybridConnection:\n type: azure:relay:HybridConnection\n name: example\n properties:\n name: exampleRHC1\n resourceGroupName: ${example.name}\n relayNamespaceName: ${exampleNamespace.name}\n userMetadata: examplemetadata\n exampleHybridConnection2:\n type: azure:appservice:HybridConnection\n name: example\n properties:\n appServiceName: ${exampleAppService.name}\n resourceGroupName: ${example.name}\n relayId: ${exampleHybridConnection.id}\n hostname: testhostname.example\n port: 8080\n sendKeyName: exampleSharedAccessKey\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nApp Service Hybrid Connections can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:appservice/hybridConnection:HybridConnection example /subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/exampleResourceGroup1/providers/Microsoft.Web/sites/exampleAppService1/hybridConnectionNamespaces/exampleRN1/relays/exampleRHC1\n```\n\n", + "description": "Manages an App Service Hybrid Connection for an existing App Service, Relay and Service Bus.\n\n!\u003e **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.appservice.FunctionAppHybridConnection` and `azure.appservice.WebAppHybridConnection` resources instead.\n\n## Example Usage\n\nThis example provisions an App Service, a Relay Hybrid Connection, and a Service Bus using their outputs to create the App Service Hybrid Connection.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\n\nconst example = new azure.core.ResourceGroup(\"example\", {\n name: \"exampleResourceGroup1\",\n location: \"West Europe\",\n});\nconst examplePlan = new azure.appservice.Plan(\"example\", {\n name: \"exampleAppServicePlan1\",\n location: example.location,\n resourceGroupName: example.name,\n sku: {\n tier: \"Standard\",\n size: \"S1\",\n },\n});\nconst exampleAppService = new azure.appservice.AppService(\"example\", {\n name: \"exampleAppService1\",\n location: example.location,\n resourceGroupName: example.name,\n appServicePlanId: examplePlan.id,\n});\nconst exampleNamespace = new azure.relay.Namespace(\"example\", {\n name: \"exampleRN1\",\n location: example.location,\n resourceGroupName: example.name,\n skuName: \"Standard\",\n});\nconst exampleHybridConnection = new azure.relay.HybridConnection(\"example\", {\n name: \"exampleRHC1\",\n resourceGroupName: example.name,\n relayNamespaceName: exampleNamespace.name,\n userMetadata: \"examplemetadata\",\n});\nconst exampleHybridConnection2 = new azure.appservice.HybridConnection(\"example\", {\n appServiceName: exampleAppService.name,\n resourceGroupName: example.name,\n relayId: exampleHybridConnection.id,\n hostname: \"testhostname.example\",\n port: 8080,\n sendKeyName: \"exampleSharedAccessKey\",\n});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\n\nexample = azure.core.ResourceGroup(\"example\",\n name=\"exampleResourceGroup1\",\n location=\"West Europe\")\nexample_plan = azure.appservice.Plan(\"example\",\n name=\"exampleAppServicePlan1\",\n location=example.location,\n resource_group_name=example.name,\n sku={\n \"tier\": \"Standard\",\n \"size\": \"S1\",\n })\nexample_app_service = azure.appservice.AppService(\"example\",\n name=\"exampleAppService1\",\n location=example.location,\n resource_group_name=example.name,\n app_service_plan_id=example_plan.id)\nexample_namespace = azure.relay.Namespace(\"example\",\n name=\"exampleRN1\",\n location=example.location,\n resource_group_name=example.name,\n sku_name=\"Standard\")\nexample_hybrid_connection = azure.relay.HybridConnection(\"example\",\n name=\"exampleRHC1\",\n resource_group_name=example.name,\n relay_namespace_name=example_namespace.name,\n user_metadata=\"examplemetadata\")\nexample_hybrid_connection2 = azure.appservice.HybridConnection(\"example\",\n app_service_name=example_app_service.name,\n resource_group_name=example.name,\n relay_id=example_hybrid_connection.id,\n hostname=\"testhostname.example\",\n port=8080,\n send_key_name=\"exampleSharedAccessKey\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Azure.Core.ResourceGroup(\"example\", new()\n {\n Name = \"exampleResourceGroup1\",\n Location = \"West Europe\",\n });\n\n var examplePlan = new Azure.AppService.Plan(\"example\", new()\n {\n Name = \"exampleAppServicePlan1\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n Sku = new Azure.AppService.Inputs.PlanSkuArgs\n {\n Tier = \"Standard\",\n Size = \"S1\",\n },\n });\n\n var exampleAppService = new Azure.AppService.AppService(\"example\", new()\n {\n Name = \"exampleAppService1\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n AppServicePlanId = examplePlan.Id,\n });\n\n var exampleNamespace = new Azure.Relay.Namespace(\"example\", new()\n {\n Name = \"exampleRN1\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n SkuName = \"Standard\",\n });\n\n var exampleHybridConnection = new Azure.Relay.HybridConnection(\"example\", new()\n {\n Name = \"exampleRHC1\",\n ResourceGroupName = example.Name,\n RelayNamespaceName = exampleNamespace.Name,\n UserMetadata = \"examplemetadata\",\n });\n\n var exampleHybridConnection2 = new Azure.AppService.HybridConnection(\"example\", new()\n {\n AppServiceName = exampleAppService.Name,\n ResourceGroupName = example.Name,\n RelayId = exampleHybridConnection.Id,\n Hostname = \"testhostname.example\",\n Port = 8080,\n SendKeyName = \"exampleSharedAccessKey\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/appservice\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/relay\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := core.NewResourceGroup(ctx, \"example\", \u0026core.ResourceGroupArgs{\n\t\t\tName: pulumi.String(\"exampleResourceGroup1\"),\n\t\t\tLocation: pulumi.String(\"West Europe\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texamplePlan, err := appservice.NewPlan(ctx, \"example\", \u0026appservice.PlanArgs{\n\t\t\tName: pulumi.String(\"exampleAppServicePlan1\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tSku: \u0026appservice.PlanSkuArgs{\n\t\t\t\tTier: pulumi.String(\"Standard\"),\n\t\t\t\tSize: pulumi.String(\"S1\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleAppService, err := appservice.NewAppService(ctx, \"example\", \u0026appservice.AppServiceArgs{\n\t\t\tName: pulumi.String(\"exampleAppService1\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tAppServicePlanId: examplePlan.ID(),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleNamespace, err := relay.NewNamespace(ctx, \"example\", \u0026relay.NamespaceArgs{\n\t\t\tName: pulumi.String(\"exampleRN1\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tSkuName: pulumi.String(\"Standard\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleHybridConnection, err := relay.NewHybridConnection(ctx, \"example\", \u0026relay.HybridConnectionArgs{\n\t\t\tName: pulumi.String(\"exampleRHC1\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tRelayNamespaceName: exampleNamespace.Name,\n\t\t\tUserMetadata: pulumi.String(\"examplemetadata\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = appservice.NewHybridConnection(ctx, \"example\", \u0026appservice.HybridConnectionArgs{\n\t\t\tAppServiceName: exampleAppService.Name,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tRelayId: exampleHybridConnection.ID(),\n\t\t\tHostname: pulumi.String(\"testhostname.example\"),\n\t\t\tPort: pulumi.Int(8080),\n\t\t\tSendKeyName: pulumi.String(\"exampleSharedAccessKey\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azure.core.ResourceGroup;\nimport com.pulumi.azure.core.ResourceGroupArgs;\nimport com.pulumi.azure.appservice.Plan;\nimport com.pulumi.azure.appservice.PlanArgs;\nimport com.pulumi.azure.appservice.inputs.PlanSkuArgs;\nimport com.pulumi.azure.appservice.AppService;\nimport com.pulumi.azure.appservice.AppServiceArgs;\nimport com.pulumi.azure.relay.Namespace;\nimport com.pulumi.azure.relay.NamespaceArgs;\nimport com.pulumi.azure.relay.HybridConnection;\nimport com.pulumi.azure.relay.HybridConnectionArgs;\nimport com.pulumi.azure.appservice.HybridConnection;\nimport com.pulumi.azure.appservice.HybridConnectionArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ResourceGroup(\"example\", ResourceGroupArgs.builder()\n .name(\"exampleResourceGroup1\")\n .location(\"West Europe\")\n .build());\n\n var examplePlan = new Plan(\"examplePlan\", PlanArgs.builder()\n .name(\"exampleAppServicePlan1\")\n .location(example.location())\n .resourceGroupName(example.name())\n .sku(PlanSkuArgs.builder()\n .tier(\"Standard\")\n .size(\"S1\")\n .build())\n .build());\n\n var exampleAppService = new AppService(\"exampleAppService\", AppServiceArgs.builder()\n .name(\"exampleAppService1\")\n .location(example.location())\n .resourceGroupName(example.name())\n .appServicePlanId(examplePlan.id())\n .build());\n\n var exampleNamespace = new Namespace(\"exampleNamespace\", NamespaceArgs.builder()\n .name(\"exampleRN1\")\n .location(example.location())\n .resourceGroupName(example.name())\n .skuName(\"Standard\")\n .build());\n\n var exampleHybridConnection = new HybridConnection(\"exampleHybridConnection\", HybridConnectionArgs.builder()\n .name(\"exampleRHC1\")\n .resourceGroupName(example.name())\n .relayNamespaceName(exampleNamespace.name())\n .userMetadata(\"examplemetadata\")\n .build());\n\n var exampleHybridConnection2 = new HybridConnection(\"exampleHybridConnection2\", HybridConnectionArgs.builder()\n .appServiceName(exampleAppService.name())\n .resourceGroupName(example.name())\n .relayId(exampleHybridConnection.id())\n .hostname(\"testhostname.example\")\n .port(8080)\n .sendKeyName(\"exampleSharedAccessKey\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: azure:core:ResourceGroup\n properties:\n name: exampleResourceGroup1\n location: West Europe\n examplePlan:\n type: azure:appservice:Plan\n name: example\n properties:\n name: exampleAppServicePlan1\n location: ${example.location}\n resourceGroupName: ${example.name}\n sku:\n tier: Standard\n size: S1\n exampleAppService:\n type: azure:appservice:AppService\n name: example\n properties:\n name: exampleAppService1\n location: ${example.location}\n resourceGroupName: ${example.name}\n appServicePlanId: ${examplePlan.id}\n exampleNamespace:\n type: azure:relay:Namespace\n name: example\n properties:\n name: exampleRN1\n location: ${example.location}\n resourceGroupName: ${example.name}\n skuName: Standard\n exampleHybridConnection:\n type: azure:relay:HybridConnection\n name: example\n properties:\n name: exampleRHC1\n resourceGroupName: ${example.name}\n relayNamespaceName: ${exampleNamespace.name}\n userMetadata: examplemetadata\n exampleHybridConnection2:\n type: azure:appservice:HybridConnection\n name: example\n properties:\n appServiceName: ${exampleAppService.name}\n resourceGroupName: ${example.name}\n relayId: ${exampleHybridConnection.id}\n hostname: testhostname.example\n port: 8080\n sendKeyName: exampleSharedAccessKey\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nApp Service Hybrid Connections can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:appservice/hybridConnection:HybridConnection example /subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/exampleResourceGroup1/providers/Microsoft.Web/sites/exampleAppService1/hybridConnectionNamespaces/exampleRN1/relays/exampleRHC1\n```\n\n", "properties": { "appServiceName": { "type": "string", @@ -125781,7 +125781,7 @@ } }, "azure:appservice/slot:Slot": { - "description": "Manages an App Service Slot (within an App Service).\n\n!\u003e **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.appservice.LinuxWebAppSlot` resources instead.\n\n\u003e **Note:** When using Slots - the `app_settings`, `connection_string` and `site_config` blocks on the `azure.appservice.AppService` resource will be overwritten when promoting a Slot using the `azure.appservice.ActiveSlot` resource.\n\n## Example Usage\n\n### NET 4.X)\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\nimport * as random from \"@pulumi/random\";\n\nconst server = new random.RandomId(\"server\", {\n keepers: {\n azi_id: \"1\",\n },\n byteLength: 8,\n});\nconst example = new azure.core.ResourceGroup(\"example\", {\n name: \"some-resource-group\",\n location: \"West Europe\",\n});\nconst examplePlan = new azure.appservice.Plan(\"example\", {\n name: \"some-app-service-plan\",\n location: example.location,\n resourceGroupName: example.name,\n sku: {\n tier: \"Standard\",\n size: \"S1\",\n },\n});\nconst exampleAppService = new azure.appservice.AppService(\"example\", {\n name: server.hex,\n location: example.location,\n resourceGroupName: example.name,\n appServicePlanId: examplePlan.id,\n siteConfig: {\n dotnetFrameworkVersion: \"v4.0\",\n },\n appSettings: {\n SOME_KEY: \"some-value\",\n },\n connectionStrings: [{\n name: \"Database\",\n type: \"SQLServer\",\n value: \"Server=some-server.mydomain.com;Integrated Security=SSPI\",\n }],\n});\nconst exampleSlot = new azure.appservice.Slot(\"example\", {\n name: server.hex,\n appServiceName: exampleAppService.name,\n location: example.location,\n resourceGroupName: example.name,\n appServicePlanId: examplePlan.id,\n siteConfig: {\n dotnetFrameworkVersion: \"v4.0\",\n },\n appSettings: {\n SOME_KEY: \"some-value\",\n },\n connectionStrings: [{\n name: \"Database\",\n type: \"SQLServer\",\n value: \"Server=some-server.mydomain.com;Integrated Security=SSPI\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\nimport pulumi_random as random\n\nserver = random.RandomId(\"server\",\n keepers={\n \"azi_id\": \"1\",\n },\n byte_length=8)\nexample = azure.core.ResourceGroup(\"example\",\n name=\"some-resource-group\",\n location=\"West Europe\")\nexample_plan = azure.appservice.Plan(\"example\",\n name=\"some-app-service-plan\",\n location=example.location,\n resource_group_name=example.name,\n sku={\n \"tier\": \"Standard\",\n \"size\": \"S1\",\n })\nexample_app_service = azure.appservice.AppService(\"example\",\n name=server.hex,\n location=example.location,\n resource_group_name=example.name,\n app_service_plan_id=example_plan.id,\n site_config={\n \"dotnet_framework_version\": \"v4.0\",\n },\n app_settings={\n \"SOME_KEY\": \"some-value\",\n },\n connection_strings=[{\n \"name\": \"Database\",\n \"type\": \"SQLServer\",\n \"value\": \"Server=some-server.mydomain.com;Integrated Security=SSPI\",\n }])\nexample_slot = azure.appservice.Slot(\"example\",\n name=server.hex,\n app_service_name=example_app_service.name,\n location=example.location,\n resource_group_name=example.name,\n app_service_plan_id=example_plan.id,\n site_config={\n \"dotnet_framework_version\": \"v4.0\",\n },\n app_settings={\n \"SOME_KEY\": \"some-value\",\n },\n connection_strings=[{\n \"name\": \"Database\",\n \"type\": \"SQLServer\",\n \"value\": \"Server=some-server.mydomain.com;Integrated Security=SSPI\",\n }])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\nusing Random = Pulumi.Random;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var server = new Random.RandomId(\"server\", new()\n {\n Keepers = \n {\n { \"azi_id\", \"1\" },\n },\n ByteLength = 8,\n });\n\n var example = new Azure.Core.ResourceGroup(\"example\", new()\n {\n Name = \"some-resource-group\",\n Location = \"West Europe\",\n });\n\n var examplePlan = new Azure.AppService.Plan(\"example\", new()\n {\n Name = \"some-app-service-plan\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n Sku = new Azure.AppService.Inputs.PlanSkuArgs\n {\n Tier = \"Standard\",\n Size = \"S1\",\n },\n });\n\n var exampleAppService = new Azure.AppService.AppService(\"example\", new()\n {\n Name = server.Hex,\n Location = example.Location,\n ResourceGroupName = example.Name,\n AppServicePlanId = examplePlan.Id,\n SiteConfig = new Azure.AppService.Inputs.AppServiceSiteConfigArgs\n {\n DotnetFrameworkVersion = \"v4.0\",\n },\n AppSettings = \n {\n { \"SOME_KEY\", \"some-value\" },\n },\n ConnectionStrings = new[]\n {\n new Azure.AppService.Inputs.AppServiceConnectionStringArgs\n {\n Name = \"Database\",\n Type = \"SQLServer\",\n Value = \"Server=some-server.mydomain.com;Integrated Security=SSPI\",\n },\n },\n });\n\n var exampleSlot = new Azure.AppService.Slot(\"example\", new()\n {\n Name = server.Hex,\n AppServiceName = exampleAppService.Name,\n Location = example.Location,\n ResourceGroupName = example.Name,\n AppServicePlanId = examplePlan.Id,\n SiteConfig = new Azure.AppService.Inputs.SlotSiteConfigArgs\n {\n DotnetFrameworkVersion = \"v4.0\",\n },\n AppSettings = \n {\n { \"SOME_KEY\", \"some-value\" },\n },\n ConnectionStrings = new[]\n {\n new Azure.AppService.Inputs.SlotConnectionStringArgs\n {\n Name = \"Database\",\n Type = \"SQLServer\",\n Value = \"Server=some-server.mydomain.com;Integrated Security=SSPI\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/appservice\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core\"\n\t\"github.com/pulumi/pulumi-random/sdk/v4/go/random\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tserver, err := random.NewRandomId(ctx, \"server\", \u0026random.RandomIdArgs{\n\t\t\tKeepers: pulumi.StringMap{\n\t\t\t\t\"azi_id\": pulumi.String(\"1\"),\n\t\t\t},\n\t\t\tByteLength: pulumi.Int(8),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texample, err := core.NewResourceGroup(ctx, \"example\", \u0026core.ResourceGroupArgs{\n\t\t\tName: pulumi.String(\"some-resource-group\"),\n\t\t\tLocation: pulumi.String(\"West Europe\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texamplePlan, err := appservice.NewPlan(ctx, \"example\", \u0026appservice.PlanArgs{\n\t\t\tName: pulumi.String(\"some-app-service-plan\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tSku: \u0026appservice.PlanSkuArgs{\n\t\t\t\tTier: pulumi.String(\"Standard\"),\n\t\t\t\tSize: pulumi.String(\"S1\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleAppService, err := appservice.NewAppService(ctx, \"example\", \u0026appservice.AppServiceArgs{\n\t\t\tName: server.Hex,\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tAppServicePlanId: examplePlan.ID(),\n\t\t\tSiteConfig: \u0026appservice.AppServiceSiteConfigArgs{\n\t\t\t\tDotnetFrameworkVersion: pulumi.String(\"v4.0\"),\n\t\t\t},\n\t\t\tAppSettings: pulumi.StringMap{\n\t\t\t\t\"SOME_KEY\": pulumi.String(\"some-value\"),\n\t\t\t},\n\t\t\tConnectionStrings: appservice.AppServiceConnectionStringArray{\n\t\t\t\t\u0026appservice.AppServiceConnectionStringArgs{\n\t\t\t\t\tName: pulumi.String(\"Database\"),\n\t\t\t\t\tType: pulumi.String(\"SQLServer\"),\n\t\t\t\t\tValue: pulumi.String(\"Server=some-server.mydomain.com;Integrated Security=SSPI\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = appservice.NewSlot(ctx, \"example\", \u0026appservice.SlotArgs{\n\t\t\tName: server.Hex,\n\t\t\tAppServiceName: exampleAppService.Name,\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tAppServicePlanId: examplePlan.ID(),\n\t\t\tSiteConfig: \u0026appservice.SlotSiteConfigArgs{\n\t\t\t\tDotnetFrameworkVersion: pulumi.String(\"v4.0\"),\n\t\t\t},\n\t\t\tAppSettings: pulumi.StringMap{\n\t\t\t\t\"SOME_KEY\": pulumi.String(\"some-value\"),\n\t\t\t},\n\t\t\tConnectionStrings: appservice.SlotConnectionStringArray{\n\t\t\t\t\u0026appservice.SlotConnectionStringArgs{\n\t\t\t\t\tName: pulumi.String(\"Database\"),\n\t\t\t\t\tType: pulumi.String(\"SQLServer\"),\n\t\t\t\t\tValue: pulumi.String(\"Server=some-server.mydomain.com;Integrated Security=SSPI\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.random.RandomId;\nimport com.pulumi.random.RandomIdArgs;\nimport com.pulumi.azure.core.ResourceGroup;\nimport com.pulumi.azure.core.ResourceGroupArgs;\nimport com.pulumi.azure.appservice.Plan;\nimport com.pulumi.azure.appservice.PlanArgs;\nimport com.pulumi.azure.appservice.inputs.PlanSkuArgs;\nimport com.pulumi.azure.appservice.AppService;\nimport com.pulumi.azure.appservice.AppServiceArgs;\nimport com.pulumi.azure.appservice.inputs.AppServiceSiteConfigArgs;\nimport com.pulumi.azure.appservice.inputs.AppServiceConnectionStringArgs;\nimport com.pulumi.azure.appservice.Slot;\nimport com.pulumi.azure.appservice.SlotArgs;\nimport com.pulumi.azure.appservice.inputs.SlotSiteConfigArgs;\nimport com.pulumi.azure.appservice.inputs.SlotConnectionStringArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var server = new RandomId(\"server\", RandomIdArgs.builder()\n .keepers(Map.of(\"azi_id\", 1))\n .byteLength(8)\n .build());\n\n var example = new ResourceGroup(\"example\", ResourceGroupArgs.builder()\n .name(\"some-resource-group\")\n .location(\"West Europe\")\n .build());\n\n var examplePlan = new Plan(\"examplePlan\", PlanArgs.builder()\n .name(\"some-app-service-plan\")\n .location(example.location())\n .resourceGroupName(example.name())\n .sku(PlanSkuArgs.builder()\n .tier(\"Standard\")\n .size(\"S1\")\n .build())\n .build());\n\n var exampleAppService = new AppService(\"exampleAppService\", AppServiceArgs.builder()\n .name(server.hex())\n .location(example.location())\n .resourceGroupName(example.name())\n .appServicePlanId(examplePlan.id())\n .siteConfig(AppServiceSiteConfigArgs.builder()\n .dotnetFrameworkVersion(\"v4.0\")\n .build())\n .appSettings(Map.of(\"SOME_KEY\", \"some-value\"))\n .connectionStrings(AppServiceConnectionStringArgs.builder()\n .name(\"Database\")\n .type(\"SQLServer\")\n .value(\"Server=some-server.mydomain.com;Integrated Security=SSPI\")\n .build())\n .build());\n\n var exampleSlot = new Slot(\"exampleSlot\", SlotArgs.builder()\n .name(server.hex())\n .appServiceName(exampleAppService.name())\n .location(example.location())\n .resourceGroupName(example.name())\n .appServicePlanId(examplePlan.id())\n .siteConfig(SlotSiteConfigArgs.builder()\n .dotnetFrameworkVersion(\"v4.0\")\n .build())\n .appSettings(Map.of(\"SOME_KEY\", \"some-value\"))\n .connectionStrings(SlotConnectionStringArgs.builder()\n .name(\"Database\")\n .type(\"SQLServer\")\n .value(\"Server=some-server.mydomain.com;Integrated Security=SSPI\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n server:\n type: random:RandomId\n properties:\n keepers:\n azi_id: 1\n byteLength: 8\n example:\n type: azure:core:ResourceGroup\n properties:\n name: some-resource-group\n location: West Europe\n examplePlan:\n type: azure:appservice:Plan\n name: example\n properties:\n name: some-app-service-plan\n location: ${example.location}\n resourceGroupName: ${example.name}\n sku:\n tier: Standard\n size: S1\n exampleAppService:\n type: azure:appservice:AppService\n name: example\n properties:\n name: ${server.hex}\n location: ${example.location}\n resourceGroupName: ${example.name}\n appServicePlanId: ${examplePlan.id}\n siteConfig:\n dotnetFrameworkVersion: v4.0\n appSettings:\n SOME_KEY: some-value\n connectionStrings:\n - name: Database\n type: SQLServer\n value: Server=some-server.mydomain.com;Integrated Security=SSPI\n exampleSlot:\n type: azure:appservice:Slot\n name: example\n properties:\n name: ${server.hex}\n appServiceName: ${exampleAppService.name}\n location: ${example.location}\n resourceGroupName: ${example.name}\n appServicePlanId: ${examplePlan.id}\n siteConfig:\n dotnetFrameworkVersion: v4.0\n appSettings:\n SOME_KEY: some-value\n connectionStrings:\n - name: Database\n type: SQLServer\n value: Server=some-server.mydomain.com;Integrated Security=SSPI\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n\n### Java 1.8)\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\nimport * as random from \"@pulumi/random\";\n\nconst server = new random.RandomId(\"server\", {\n keepers: {\n azi_id: \"1\",\n },\n byteLength: 8,\n});\nconst example = new azure.core.ResourceGroup(\"example\", {\n name: \"some-resource-group\",\n location: \"West Europe\",\n});\nconst examplePlan = new azure.appservice.Plan(\"example\", {\n name: \"some-app-service-plan\",\n location: example.location,\n resourceGroupName: example.name,\n sku: {\n tier: \"Standard\",\n size: \"S1\",\n },\n});\nconst exampleAppService = new azure.appservice.AppService(\"example\", {\n name: server.hex,\n location: example.location,\n resourceGroupName: example.name,\n appServicePlanId: examplePlan.id,\n siteConfig: {\n javaVersion: \"1.8\",\n javaContainer: \"JETTY\",\n javaContainerVersion: \"9.3\",\n },\n});\nconst exampleSlot = new azure.appservice.Slot(\"example\", {\n name: server.hex,\n appServiceName: exampleAppService.name,\n location: example.location,\n resourceGroupName: example.name,\n appServicePlanId: examplePlan.id,\n siteConfig: {\n javaVersion: \"1.8\",\n javaContainer: \"JETTY\",\n javaContainerVersion: \"9.3\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\nimport pulumi_random as random\n\nserver = random.RandomId(\"server\",\n keepers={\n \"azi_id\": \"1\",\n },\n byte_length=8)\nexample = azure.core.ResourceGroup(\"example\",\n name=\"some-resource-group\",\n location=\"West Europe\")\nexample_plan = azure.appservice.Plan(\"example\",\n name=\"some-app-service-plan\",\n location=example.location,\n resource_group_name=example.name,\n sku={\n \"tier\": \"Standard\",\n \"size\": \"S1\",\n })\nexample_app_service = azure.appservice.AppService(\"example\",\n name=server.hex,\n location=example.location,\n resource_group_name=example.name,\n app_service_plan_id=example_plan.id,\n site_config={\n \"java_version\": \"1.8\",\n \"java_container\": \"JETTY\",\n \"java_container_version\": \"9.3\",\n })\nexample_slot = azure.appservice.Slot(\"example\",\n name=server.hex,\n app_service_name=example_app_service.name,\n location=example.location,\n resource_group_name=example.name,\n app_service_plan_id=example_plan.id,\n site_config={\n \"java_version\": \"1.8\",\n \"java_container\": \"JETTY\",\n \"java_container_version\": \"9.3\",\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\nusing Random = Pulumi.Random;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var server = new Random.RandomId(\"server\", new()\n {\n Keepers = \n {\n { \"azi_id\", \"1\" },\n },\n ByteLength = 8,\n });\n\n var example = new Azure.Core.ResourceGroup(\"example\", new()\n {\n Name = \"some-resource-group\",\n Location = \"West Europe\",\n });\n\n var examplePlan = new Azure.AppService.Plan(\"example\", new()\n {\n Name = \"some-app-service-plan\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n Sku = new Azure.AppService.Inputs.PlanSkuArgs\n {\n Tier = \"Standard\",\n Size = \"S1\",\n },\n });\n\n var exampleAppService = new Azure.AppService.AppService(\"example\", new()\n {\n Name = server.Hex,\n Location = example.Location,\n ResourceGroupName = example.Name,\n AppServicePlanId = examplePlan.Id,\n SiteConfig = new Azure.AppService.Inputs.AppServiceSiteConfigArgs\n {\n JavaVersion = \"1.8\",\n JavaContainer = \"JETTY\",\n JavaContainerVersion = \"9.3\",\n },\n });\n\n var exampleSlot = new Azure.AppService.Slot(\"example\", new()\n {\n Name = server.Hex,\n AppServiceName = exampleAppService.Name,\n Location = example.Location,\n ResourceGroupName = example.Name,\n AppServicePlanId = examplePlan.Id,\n SiteConfig = new Azure.AppService.Inputs.SlotSiteConfigArgs\n {\n JavaVersion = \"1.8\",\n JavaContainer = \"JETTY\",\n JavaContainerVersion = \"9.3\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/appservice\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core\"\n\t\"github.com/pulumi/pulumi-random/sdk/v4/go/random\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tserver, err := random.NewRandomId(ctx, \"server\", \u0026random.RandomIdArgs{\n\t\t\tKeepers: pulumi.StringMap{\n\t\t\t\t\"azi_id\": pulumi.String(\"1\"),\n\t\t\t},\n\t\t\tByteLength: pulumi.Int(8),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texample, err := core.NewResourceGroup(ctx, \"example\", \u0026core.ResourceGroupArgs{\n\t\t\tName: pulumi.String(\"some-resource-group\"),\n\t\t\tLocation: pulumi.String(\"West Europe\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texamplePlan, err := appservice.NewPlan(ctx, \"example\", \u0026appservice.PlanArgs{\n\t\t\tName: pulumi.String(\"some-app-service-plan\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tSku: \u0026appservice.PlanSkuArgs{\n\t\t\t\tTier: pulumi.String(\"Standard\"),\n\t\t\t\tSize: pulumi.String(\"S1\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleAppService, err := appservice.NewAppService(ctx, \"example\", \u0026appservice.AppServiceArgs{\n\t\t\tName: server.Hex,\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tAppServicePlanId: examplePlan.ID(),\n\t\t\tSiteConfig: \u0026appservice.AppServiceSiteConfigArgs{\n\t\t\t\tJavaVersion: pulumi.String(\"1.8\"),\n\t\t\t\tJavaContainer: pulumi.String(\"JETTY\"),\n\t\t\t\tJavaContainerVersion: pulumi.String(\"9.3\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = appservice.NewSlot(ctx, \"example\", \u0026appservice.SlotArgs{\n\t\t\tName: server.Hex,\n\t\t\tAppServiceName: exampleAppService.Name,\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tAppServicePlanId: examplePlan.ID(),\n\t\t\tSiteConfig: \u0026appservice.SlotSiteConfigArgs{\n\t\t\t\tJavaVersion: pulumi.String(\"1.8\"),\n\t\t\t\tJavaContainer: pulumi.String(\"JETTY\"),\n\t\t\t\tJavaContainerVersion: pulumi.String(\"9.3\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.random.RandomId;\nimport com.pulumi.random.RandomIdArgs;\nimport com.pulumi.azure.core.ResourceGroup;\nimport com.pulumi.azure.core.ResourceGroupArgs;\nimport com.pulumi.azure.appservice.Plan;\nimport com.pulumi.azure.appservice.PlanArgs;\nimport com.pulumi.azure.appservice.inputs.PlanSkuArgs;\nimport com.pulumi.azure.appservice.AppService;\nimport com.pulumi.azure.appservice.AppServiceArgs;\nimport com.pulumi.azure.appservice.inputs.AppServiceSiteConfigArgs;\nimport com.pulumi.azure.appservice.Slot;\nimport com.pulumi.azure.appservice.SlotArgs;\nimport com.pulumi.azure.appservice.inputs.SlotSiteConfigArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var server = new RandomId(\"server\", RandomIdArgs.builder()\n .keepers(Map.of(\"azi_id\", 1))\n .byteLength(8)\n .build());\n\n var example = new ResourceGroup(\"example\", ResourceGroupArgs.builder()\n .name(\"some-resource-group\")\n .location(\"West Europe\")\n .build());\n\n var examplePlan = new Plan(\"examplePlan\", PlanArgs.builder()\n .name(\"some-app-service-plan\")\n .location(example.location())\n .resourceGroupName(example.name())\n .sku(PlanSkuArgs.builder()\n .tier(\"Standard\")\n .size(\"S1\")\n .build())\n .build());\n\n var exampleAppService = new AppService(\"exampleAppService\", AppServiceArgs.builder()\n .name(server.hex())\n .location(example.location())\n .resourceGroupName(example.name())\n .appServicePlanId(examplePlan.id())\n .siteConfig(AppServiceSiteConfigArgs.builder()\n .javaVersion(\"1.8\")\n .javaContainer(\"JETTY\")\n .javaContainerVersion(\"9.3\")\n .build())\n .build());\n\n var exampleSlot = new Slot(\"exampleSlot\", SlotArgs.builder()\n .name(server.hex())\n .appServiceName(exampleAppService.name())\n .location(example.location())\n .resourceGroupName(example.name())\n .appServicePlanId(examplePlan.id())\n .siteConfig(SlotSiteConfigArgs.builder()\n .javaVersion(\"1.8\")\n .javaContainer(\"JETTY\")\n .javaContainerVersion(\"9.3\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n server:\n type: random:RandomId\n properties:\n keepers:\n azi_id: 1\n byteLength: 8\n example:\n type: azure:core:ResourceGroup\n properties:\n name: some-resource-group\n location: West Europe\n examplePlan:\n type: azure:appservice:Plan\n name: example\n properties:\n name: some-app-service-plan\n location: ${example.location}\n resourceGroupName: ${example.name}\n sku:\n tier: Standard\n size: S1\n exampleAppService:\n type: azure:appservice:AppService\n name: example\n properties:\n name: ${server.hex}\n location: ${example.location}\n resourceGroupName: ${example.name}\n appServicePlanId: ${examplePlan.id}\n siteConfig:\n javaVersion: '1.8'\n javaContainer: JETTY\n javaContainerVersion: '9.3'\n exampleSlot:\n type: azure:appservice:Slot\n name: example\n properties:\n name: ${server.hex}\n appServiceName: ${exampleAppService.name}\n location: ${example.location}\n resourceGroupName: ${example.name}\n appServicePlanId: ${examplePlan.id}\n siteConfig:\n javaVersion: '1.8'\n javaContainer: JETTY\n javaContainerVersion: '9.3'\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nApp Service Slots can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:appservice/slot:Slot instance1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Web/sites/website1/slots/instance1\n```\n\n", + "description": "Manages an App Service Slot (within an App Service).\n\n!\u003e **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.appservice.LinuxWebAppSlot` and `azure.appservice.WindowsWebAppSlot` resources instead.\n\n\u003e **Note:** When using Slots - the `app_settings`, `connection_string` and `site_config` blocks on the `azure.appservice.AppService` resource will be overwritten when promoting a Slot using the `azure.appservice.ActiveSlot` resource.\n\n## Example Usage\n\n### NET 4.X)\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\nimport * as random from \"@pulumi/random\";\n\nconst server = new random.RandomId(\"server\", {\n keepers: {\n azi_id: \"1\",\n },\n byteLength: 8,\n});\nconst example = new azure.core.ResourceGroup(\"example\", {\n name: \"some-resource-group\",\n location: \"West Europe\",\n});\nconst examplePlan = new azure.appservice.Plan(\"example\", {\n name: \"some-app-service-plan\",\n location: example.location,\n resourceGroupName: example.name,\n sku: {\n tier: \"Standard\",\n size: \"S1\",\n },\n});\nconst exampleAppService = new azure.appservice.AppService(\"example\", {\n name: server.hex,\n location: example.location,\n resourceGroupName: example.name,\n appServicePlanId: examplePlan.id,\n siteConfig: {\n dotnetFrameworkVersion: \"v4.0\",\n },\n appSettings: {\n SOME_KEY: \"some-value\",\n },\n connectionStrings: [{\n name: \"Database\",\n type: \"SQLServer\",\n value: \"Server=some-server.mydomain.com;Integrated Security=SSPI\",\n }],\n});\nconst exampleSlot = new azure.appservice.Slot(\"example\", {\n name: server.hex,\n appServiceName: exampleAppService.name,\n location: example.location,\n resourceGroupName: example.name,\n appServicePlanId: examplePlan.id,\n siteConfig: {\n dotnetFrameworkVersion: \"v4.0\",\n },\n appSettings: {\n SOME_KEY: \"some-value\",\n },\n connectionStrings: [{\n name: \"Database\",\n type: \"SQLServer\",\n value: \"Server=some-server.mydomain.com;Integrated Security=SSPI\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\nimport pulumi_random as random\n\nserver = random.RandomId(\"server\",\n keepers={\n \"azi_id\": \"1\",\n },\n byte_length=8)\nexample = azure.core.ResourceGroup(\"example\",\n name=\"some-resource-group\",\n location=\"West Europe\")\nexample_plan = azure.appservice.Plan(\"example\",\n name=\"some-app-service-plan\",\n location=example.location,\n resource_group_name=example.name,\n sku={\n \"tier\": \"Standard\",\n \"size\": \"S1\",\n })\nexample_app_service = azure.appservice.AppService(\"example\",\n name=server.hex,\n location=example.location,\n resource_group_name=example.name,\n app_service_plan_id=example_plan.id,\n site_config={\n \"dotnet_framework_version\": \"v4.0\",\n },\n app_settings={\n \"SOME_KEY\": \"some-value\",\n },\n connection_strings=[{\n \"name\": \"Database\",\n \"type\": \"SQLServer\",\n \"value\": \"Server=some-server.mydomain.com;Integrated Security=SSPI\",\n }])\nexample_slot = azure.appservice.Slot(\"example\",\n name=server.hex,\n app_service_name=example_app_service.name,\n location=example.location,\n resource_group_name=example.name,\n app_service_plan_id=example_plan.id,\n site_config={\n \"dotnet_framework_version\": \"v4.0\",\n },\n app_settings={\n \"SOME_KEY\": \"some-value\",\n },\n connection_strings=[{\n \"name\": \"Database\",\n \"type\": \"SQLServer\",\n \"value\": \"Server=some-server.mydomain.com;Integrated Security=SSPI\",\n }])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\nusing Random = Pulumi.Random;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var server = new Random.RandomId(\"server\", new()\n {\n Keepers = \n {\n { \"azi_id\", \"1\" },\n },\n ByteLength = 8,\n });\n\n var example = new Azure.Core.ResourceGroup(\"example\", new()\n {\n Name = \"some-resource-group\",\n Location = \"West Europe\",\n });\n\n var examplePlan = new Azure.AppService.Plan(\"example\", new()\n {\n Name = \"some-app-service-plan\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n Sku = new Azure.AppService.Inputs.PlanSkuArgs\n {\n Tier = \"Standard\",\n Size = \"S1\",\n },\n });\n\n var exampleAppService = new Azure.AppService.AppService(\"example\", new()\n {\n Name = server.Hex,\n Location = example.Location,\n ResourceGroupName = example.Name,\n AppServicePlanId = examplePlan.Id,\n SiteConfig = new Azure.AppService.Inputs.AppServiceSiteConfigArgs\n {\n DotnetFrameworkVersion = \"v4.0\",\n },\n AppSettings = \n {\n { \"SOME_KEY\", \"some-value\" },\n },\n ConnectionStrings = new[]\n {\n new Azure.AppService.Inputs.AppServiceConnectionStringArgs\n {\n Name = \"Database\",\n Type = \"SQLServer\",\n Value = \"Server=some-server.mydomain.com;Integrated Security=SSPI\",\n },\n },\n });\n\n var exampleSlot = new Azure.AppService.Slot(\"example\", new()\n {\n Name = server.Hex,\n AppServiceName = exampleAppService.Name,\n Location = example.Location,\n ResourceGroupName = example.Name,\n AppServicePlanId = examplePlan.Id,\n SiteConfig = new Azure.AppService.Inputs.SlotSiteConfigArgs\n {\n DotnetFrameworkVersion = \"v4.0\",\n },\n AppSettings = \n {\n { \"SOME_KEY\", \"some-value\" },\n },\n ConnectionStrings = new[]\n {\n new Azure.AppService.Inputs.SlotConnectionStringArgs\n {\n Name = \"Database\",\n Type = \"SQLServer\",\n Value = \"Server=some-server.mydomain.com;Integrated Security=SSPI\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/appservice\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core\"\n\t\"github.com/pulumi/pulumi-random/sdk/v4/go/random\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tserver, err := random.NewRandomId(ctx, \"server\", \u0026random.RandomIdArgs{\n\t\t\tKeepers: pulumi.StringMap{\n\t\t\t\t\"azi_id\": pulumi.String(\"1\"),\n\t\t\t},\n\t\t\tByteLength: pulumi.Int(8),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texample, err := core.NewResourceGroup(ctx, \"example\", \u0026core.ResourceGroupArgs{\n\t\t\tName: pulumi.String(\"some-resource-group\"),\n\t\t\tLocation: pulumi.String(\"West Europe\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texamplePlan, err := appservice.NewPlan(ctx, \"example\", \u0026appservice.PlanArgs{\n\t\t\tName: pulumi.String(\"some-app-service-plan\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tSku: \u0026appservice.PlanSkuArgs{\n\t\t\t\tTier: pulumi.String(\"Standard\"),\n\t\t\t\tSize: pulumi.String(\"S1\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleAppService, err := appservice.NewAppService(ctx, \"example\", \u0026appservice.AppServiceArgs{\n\t\t\tName: server.Hex,\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tAppServicePlanId: examplePlan.ID(),\n\t\t\tSiteConfig: \u0026appservice.AppServiceSiteConfigArgs{\n\t\t\t\tDotnetFrameworkVersion: pulumi.String(\"v4.0\"),\n\t\t\t},\n\t\t\tAppSettings: pulumi.StringMap{\n\t\t\t\t\"SOME_KEY\": pulumi.String(\"some-value\"),\n\t\t\t},\n\t\t\tConnectionStrings: appservice.AppServiceConnectionStringArray{\n\t\t\t\t\u0026appservice.AppServiceConnectionStringArgs{\n\t\t\t\t\tName: pulumi.String(\"Database\"),\n\t\t\t\t\tType: pulumi.String(\"SQLServer\"),\n\t\t\t\t\tValue: pulumi.String(\"Server=some-server.mydomain.com;Integrated Security=SSPI\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = appservice.NewSlot(ctx, \"example\", \u0026appservice.SlotArgs{\n\t\t\tName: server.Hex,\n\t\t\tAppServiceName: exampleAppService.Name,\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tAppServicePlanId: examplePlan.ID(),\n\t\t\tSiteConfig: \u0026appservice.SlotSiteConfigArgs{\n\t\t\t\tDotnetFrameworkVersion: pulumi.String(\"v4.0\"),\n\t\t\t},\n\t\t\tAppSettings: pulumi.StringMap{\n\t\t\t\t\"SOME_KEY\": pulumi.String(\"some-value\"),\n\t\t\t},\n\t\t\tConnectionStrings: appservice.SlotConnectionStringArray{\n\t\t\t\t\u0026appservice.SlotConnectionStringArgs{\n\t\t\t\t\tName: pulumi.String(\"Database\"),\n\t\t\t\t\tType: pulumi.String(\"SQLServer\"),\n\t\t\t\t\tValue: pulumi.String(\"Server=some-server.mydomain.com;Integrated Security=SSPI\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.random.RandomId;\nimport com.pulumi.random.RandomIdArgs;\nimport com.pulumi.azure.core.ResourceGroup;\nimport com.pulumi.azure.core.ResourceGroupArgs;\nimport com.pulumi.azure.appservice.Plan;\nimport com.pulumi.azure.appservice.PlanArgs;\nimport com.pulumi.azure.appservice.inputs.PlanSkuArgs;\nimport com.pulumi.azure.appservice.AppService;\nimport com.pulumi.azure.appservice.AppServiceArgs;\nimport com.pulumi.azure.appservice.inputs.AppServiceSiteConfigArgs;\nimport com.pulumi.azure.appservice.inputs.AppServiceConnectionStringArgs;\nimport com.pulumi.azure.appservice.Slot;\nimport com.pulumi.azure.appservice.SlotArgs;\nimport com.pulumi.azure.appservice.inputs.SlotSiteConfigArgs;\nimport com.pulumi.azure.appservice.inputs.SlotConnectionStringArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var server = new RandomId(\"server\", RandomIdArgs.builder()\n .keepers(Map.of(\"azi_id\", 1))\n .byteLength(8)\n .build());\n\n var example = new ResourceGroup(\"example\", ResourceGroupArgs.builder()\n .name(\"some-resource-group\")\n .location(\"West Europe\")\n .build());\n\n var examplePlan = new Plan(\"examplePlan\", PlanArgs.builder()\n .name(\"some-app-service-plan\")\n .location(example.location())\n .resourceGroupName(example.name())\n .sku(PlanSkuArgs.builder()\n .tier(\"Standard\")\n .size(\"S1\")\n .build())\n .build());\n\n var exampleAppService = new AppService(\"exampleAppService\", AppServiceArgs.builder()\n .name(server.hex())\n .location(example.location())\n .resourceGroupName(example.name())\n .appServicePlanId(examplePlan.id())\n .siteConfig(AppServiceSiteConfigArgs.builder()\n .dotnetFrameworkVersion(\"v4.0\")\n .build())\n .appSettings(Map.of(\"SOME_KEY\", \"some-value\"))\n .connectionStrings(AppServiceConnectionStringArgs.builder()\n .name(\"Database\")\n .type(\"SQLServer\")\n .value(\"Server=some-server.mydomain.com;Integrated Security=SSPI\")\n .build())\n .build());\n\n var exampleSlot = new Slot(\"exampleSlot\", SlotArgs.builder()\n .name(server.hex())\n .appServiceName(exampleAppService.name())\n .location(example.location())\n .resourceGroupName(example.name())\n .appServicePlanId(examplePlan.id())\n .siteConfig(SlotSiteConfigArgs.builder()\n .dotnetFrameworkVersion(\"v4.0\")\n .build())\n .appSettings(Map.of(\"SOME_KEY\", \"some-value\"))\n .connectionStrings(SlotConnectionStringArgs.builder()\n .name(\"Database\")\n .type(\"SQLServer\")\n .value(\"Server=some-server.mydomain.com;Integrated Security=SSPI\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n server:\n type: random:RandomId\n properties:\n keepers:\n azi_id: 1\n byteLength: 8\n example:\n type: azure:core:ResourceGroup\n properties:\n name: some-resource-group\n location: West Europe\n examplePlan:\n type: azure:appservice:Plan\n name: example\n properties:\n name: some-app-service-plan\n location: ${example.location}\n resourceGroupName: ${example.name}\n sku:\n tier: Standard\n size: S1\n exampleAppService:\n type: azure:appservice:AppService\n name: example\n properties:\n name: ${server.hex}\n location: ${example.location}\n resourceGroupName: ${example.name}\n appServicePlanId: ${examplePlan.id}\n siteConfig:\n dotnetFrameworkVersion: v4.0\n appSettings:\n SOME_KEY: some-value\n connectionStrings:\n - name: Database\n type: SQLServer\n value: Server=some-server.mydomain.com;Integrated Security=SSPI\n exampleSlot:\n type: azure:appservice:Slot\n name: example\n properties:\n name: ${server.hex}\n appServiceName: ${exampleAppService.name}\n location: ${example.location}\n resourceGroupName: ${example.name}\n appServicePlanId: ${examplePlan.id}\n siteConfig:\n dotnetFrameworkVersion: v4.0\n appSettings:\n SOME_KEY: some-value\n connectionStrings:\n - name: Database\n type: SQLServer\n value: Server=some-server.mydomain.com;Integrated Security=SSPI\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n\n### Java 1.8)\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\nimport * as random from \"@pulumi/random\";\n\nconst server = new random.RandomId(\"server\", {\n keepers: {\n azi_id: \"1\",\n },\n byteLength: 8,\n});\nconst example = new azure.core.ResourceGroup(\"example\", {\n name: \"some-resource-group\",\n location: \"West Europe\",\n});\nconst examplePlan = new azure.appservice.Plan(\"example\", {\n name: \"some-app-service-plan\",\n location: example.location,\n resourceGroupName: example.name,\n sku: {\n tier: \"Standard\",\n size: \"S1\",\n },\n});\nconst exampleAppService = new azure.appservice.AppService(\"example\", {\n name: server.hex,\n location: example.location,\n resourceGroupName: example.name,\n appServicePlanId: examplePlan.id,\n siteConfig: {\n javaVersion: \"1.8\",\n javaContainer: \"JETTY\",\n javaContainerVersion: \"9.3\",\n },\n});\nconst exampleSlot = new azure.appservice.Slot(\"example\", {\n name: server.hex,\n appServiceName: exampleAppService.name,\n location: example.location,\n resourceGroupName: example.name,\n appServicePlanId: examplePlan.id,\n siteConfig: {\n javaVersion: \"1.8\",\n javaContainer: \"JETTY\",\n javaContainerVersion: \"9.3\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\nimport pulumi_random as random\n\nserver = random.RandomId(\"server\",\n keepers={\n \"azi_id\": \"1\",\n },\n byte_length=8)\nexample = azure.core.ResourceGroup(\"example\",\n name=\"some-resource-group\",\n location=\"West Europe\")\nexample_plan = azure.appservice.Plan(\"example\",\n name=\"some-app-service-plan\",\n location=example.location,\n resource_group_name=example.name,\n sku={\n \"tier\": \"Standard\",\n \"size\": \"S1\",\n })\nexample_app_service = azure.appservice.AppService(\"example\",\n name=server.hex,\n location=example.location,\n resource_group_name=example.name,\n app_service_plan_id=example_plan.id,\n site_config={\n \"java_version\": \"1.8\",\n \"java_container\": \"JETTY\",\n \"java_container_version\": \"9.3\",\n })\nexample_slot = azure.appservice.Slot(\"example\",\n name=server.hex,\n app_service_name=example_app_service.name,\n location=example.location,\n resource_group_name=example.name,\n app_service_plan_id=example_plan.id,\n site_config={\n \"java_version\": \"1.8\",\n \"java_container\": \"JETTY\",\n \"java_container_version\": \"9.3\",\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\nusing Random = Pulumi.Random;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var server = new Random.RandomId(\"server\", new()\n {\n Keepers = \n {\n { \"azi_id\", \"1\" },\n },\n ByteLength = 8,\n });\n\n var example = new Azure.Core.ResourceGroup(\"example\", new()\n {\n Name = \"some-resource-group\",\n Location = \"West Europe\",\n });\n\n var examplePlan = new Azure.AppService.Plan(\"example\", new()\n {\n Name = \"some-app-service-plan\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n Sku = new Azure.AppService.Inputs.PlanSkuArgs\n {\n Tier = \"Standard\",\n Size = \"S1\",\n },\n });\n\n var exampleAppService = new Azure.AppService.AppService(\"example\", new()\n {\n Name = server.Hex,\n Location = example.Location,\n ResourceGroupName = example.Name,\n AppServicePlanId = examplePlan.Id,\n SiteConfig = new Azure.AppService.Inputs.AppServiceSiteConfigArgs\n {\n JavaVersion = \"1.8\",\n JavaContainer = \"JETTY\",\n JavaContainerVersion = \"9.3\",\n },\n });\n\n var exampleSlot = new Azure.AppService.Slot(\"example\", new()\n {\n Name = server.Hex,\n AppServiceName = exampleAppService.Name,\n Location = example.Location,\n ResourceGroupName = example.Name,\n AppServicePlanId = examplePlan.Id,\n SiteConfig = new Azure.AppService.Inputs.SlotSiteConfigArgs\n {\n JavaVersion = \"1.8\",\n JavaContainer = \"JETTY\",\n JavaContainerVersion = \"9.3\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/appservice\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core\"\n\t\"github.com/pulumi/pulumi-random/sdk/v4/go/random\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tserver, err := random.NewRandomId(ctx, \"server\", \u0026random.RandomIdArgs{\n\t\t\tKeepers: pulumi.StringMap{\n\t\t\t\t\"azi_id\": pulumi.String(\"1\"),\n\t\t\t},\n\t\t\tByteLength: pulumi.Int(8),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texample, err := core.NewResourceGroup(ctx, \"example\", \u0026core.ResourceGroupArgs{\n\t\t\tName: pulumi.String(\"some-resource-group\"),\n\t\t\tLocation: pulumi.String(\"West Europe\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texamplePlan, err := appservice.NewPlan(ctx, \"example\", \u0026appservice.PlanArgs{\n\t\t\tName: pulumi.String(\"some-app-service-plan\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tSku: \u0026appservice.PlanSkuArgs{\n\t\t\t\tTier: pulumi.String(\"Standard\"),\n\t\t\t\tSize: pulumi.String(\"S1\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleAppService, err := appservice.NewAppService(ctx, \"example\", \u0026appservice.AppServiceArgs{\n\t\t\tName: server.Hex,\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tAppServicePlanId: examplePlan.ID(),\n\t\t\tSiteConfig: \u0026appservice.AppServiceSiteConfigArgs{\n\t\t\t\tJavaVersion: pulumi.String(\"1.8\"),\n\t\t\t\tJavaContainer: pulumi.String(\"JETTY\"),\n\t\t\t\tJavaContainerVersion: pulumi.String(\"9.3\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = appservice.NewSlot(ctx, \"example\", \u0026appservice.SlotArgs{\n\t\t\tName: server.Hex,\n\t\t\tAppServiceName: exampleAppService.Name,\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tAppServicePlanId: examplePlan.ID(),\n\t\t\tSiteConfig: \u0026appservice.SlotSiteConfigArgs{\n\t\t\t\tJavaVersion: pulumi.String(\"1.8\"),\n\t\t\t\tJavaContainer: pulumi.String(\"JETTY\"),\n\t\t\t\tJavaContainerVersion: pulumi.String(\"9.3\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.random.RandomId;\nimport com.pulumi.random.RandomIdArgs;\nimport com.pulumi.azure.core.ResourceGroup;\nimport com.pulumi.azure.core.ResourceGroupArgs;\nimport com.pulumi.azure.appservice.Plan;\nimport com.pulumi.azure.appservice.PlanArgs;\nimport com.pulumi.azure.appservice.inputs.PlanSkuArgs;\nimport com.pulumi.azure.appservice.AppService;\nimport com.pulumi.azure.appservice.AppServiceArgs;\nimport com.pulumi.azure.appservice.inputs.AppServiceSiteConfigArgs;\nimport com.pulumi.azure.appservice.Slot;\nimport com.pulumi.azure.appservice.SlotArgs;\nimport com.pulumi.azure.appservice.inputs.SlotSiteConfigArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var server = new RandomId(\"server\", RandomIdArgs.builder()\n .keepers(Map.of(\"azi_id\", 1))\n .byteLength(8)\n .build());\n\n var example = new ResourceGroup(\"example\", ResourceGroupArgs.builder()\n .name(\"some-resource-group\")\n .location(\"West Europe\")\n .build());\n\n var examplePlan = new Plan(\"examplePlan\", PlanArgs.builder()\n .name(\"some-app-service-plan\")\n .location(example.location())\n .resourceGroupName(example.name())\n .sku(PlanSkuArgs.builder()\n .tier(\"Standard\")\n .size(\"S1\")\n .build())\n .build());\n\n var exampleAppService = new AppService(\"exampleAppService\", AppServiceArgs.builder()\n .name(server.hex())\n .location(example.location())\n .resourceGroupName(example.name())\n .appServicePlanId(examplePlan.id())\n .siteConfig(AppServiceSiteConfigArgs.builder()\n .javaVersion(\"1.8\")\n .javaContainer(\"JETTY\")\n .javaContainerVersion(\"9.3\")\n .build())\n .build());\n\n var exampleSlot = new Slot(\"exampleSlot\", SlotArgs.builder()\n .name(server.hex())\n .appServiceName(exampleAppService.name())\n .location(example.location())\n .resourceGroupName(example.name())\n .appServicePlanId(examplePlan.id())\n .siteConfig(SlotSiteConfigArgs.builder()\n .javaVersion(\"1.8\")\n .javaContainer(\"JETTY\")\n .javaContainerVersion(\"9.3\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n server:\n type: random:RandomId\n properties:\n keepers:\n azi_id: 1\n byteLength: 8\n example:\n type: azure:core:ResourceGroup\n properties:\n name: some-resource-group\n location: West Europe\n examplePlan:\n type: azure:appservice:Plan\n name: example\n properties:\n name: some-app-service-plan\n location: ${example.location}\n resourceGroupName: ${example.name}\n sku:\n tier: Standard\n size: S1\n exampleAppService:\n type: azure:appservice:AppService\n name: example\n properties:\n name: ${server.hex}\n location: ${example.location}\n resourceGroupName: ${example.name}\n appServicePlanId: ${examplePlan.id}\n siteConfig:\n javaVersion: '1.8'\n javaContainer: JETTY\n javaContainerVersion: '9.3'\n exampleSlot:\n type: azure:appservice:Slot\n name: example\n properties:\n name: ${server.hex}\n appServiceName: ${exampleAppService.name}\n location: ${example.location}\n resourceGroupName: ${example.name}\n appServicePlanId: ${examplePlan.id}\n siteConfig:\n javaVersion: '1.8'\n javaContainer: JETTY\n javaContainerVersion: '9.3'\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nApp Service Slots can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:appservice/slot:Slot instance1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Web/sites/website1/slots/instance1\n```\n\n", "properties": { "appServiceName": { "type": "string", @@ -139739,7 +139739,7 @@ } }, "azure:cdn/endpoint:Endpoint": { - "description": "A CDN Endpoint is the entity within a CDN Profile containing configuration information regarding caching behaviours and origins. The CDN Endpoint is exposed using the URL format `\u003cendpointname\u003e.azureedge.net`.\n\n!\u003e **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue as the necessary changes are identified.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\n\nconst example = new azure.core.ResourceGroup(\"example\", {\n name: \"example-resources\",\n location: \"West Europe\",\n});\nconst exampleProfile = new azure.cdn.Profile(\"example\", {\n name: \"example-cdn\",\n location: example.location,\n resourceGroupName: example.name,\n sku: \"Standard_Verizon\",\n});\nconst exampleEndpoint = new azure.cdn.Endpoint(\"example\", {\n name: \"example\",\n profileName: exampleProfile.name,\n location: example.location,\n resourceGroupName: example.name,\n origins: [{\n name: \"example\",\n hostName: \"www.contoso.com\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\n\nexample = azure.core.ResourceGroup(\"example\",\n name=\"example-resources\",\n location=\"West Europe\")\nexample_profile = azure.cdn.Profile(\"example\",\n name=\"example-cdn\",\n location=example.location,\n resource_group_name=example.name,\n sku=\"Standard_Verizon\")\nexample_endpoint = azure.cdn.Endpoint(\"example\",\n name=\"example\",\n profile_name=example_profile.name,\n location=example.location,\n resource_group_name=example.name,\n origins=[{\n \"name\": \"example\",\n \"host_name\": \"www.contoso.com\",\n }])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Azure.Core.ResourceGroup(\"example\", new()\n {\n Name = \"example-resources\",\n Location = \"West Europe\",\n });\n\n var exampleProfile = new Azure.Cdn.Profile(\"example\", new()\n {\n Name = \"example-cdn\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n Sku = \"Standard_Verizon\",\n });\n\n var exampleEndpoint = new Azure.Cdn.Endpoint(\"example\", new()\n {\n Name = \"example\",\n ProfileName = exampleProfile.Name,\n Location = example.Location,\n ResourceGroupName = example.Name,\n Origins = new[]\n {\n new Azure.Cdn.Inputs.EndpointOriginArgs\n {\n Name = \"example\",\n HostName = \"www.contoso.com\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/cdn\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := core.NewResourceGroup(ctx, \"example\", \u0026core.ResourceGroupArgs{\n\t\t\tName: pulumi.String(\"example-resources\"),\n\t\t\tLocation: pulumi.String(\"West Europe\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleProfile, err := cdn.NewProfile(ctx, \"example\", \u0026cdn.ProfileArgs{\n\t\t\tName: pulumi.String(\"example-cdn\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tSku: pulumi.String(\"Standard_Verizon\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = cdn.NewEndpoint(ctx, \"example\", \u0026cdn.EndpointArgs{\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tProfileName: exampleProfile.Name,\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tOrigins: cdn.EndpointOriginArray{\n\t\t\t\t\u0026cdn.EndpointOriginArgs{\n\t\t\t\t\tName: pulumi.String(\"example\"),\n\t\t\t\t\tHostName: pulumi.String(\"www.contoso.com\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azure.core.ResourceGroup;\nimport com.pulumi.azure.core.ResourceGroupArgs;\nimport com.pulumi.azure.cdn.Profile;\nimport com.pulumi.azure.cdn.ProfileArgs;\nimport com.pulumi.azure.cdn.Endpoint;\nimport com.pulumi.azure.cdn.EndpointArgs;\nimport com.pulumi.azure.cdn.inputs.EndpointOriginArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ResourceGroup(\"example\", ResourceGroupArgs.builder()\n .name(\"example-resources\")\n .location(\"West Europe\")\n .build());\n\n var exampleProfile = new Profile(\"exampleProfile\", ProfileArgs.builder()\n .name(\"example-cdn\")\n .location(example.location())\n .resourceGroupName(example.name())\n .sku(\"Standard_Verizon\")\n .build());\n\n var exampleEndpoint = new Endpoint(\"exampleEndpoint\", EndpointArgs.builder()\n .name(\"example\")\n .profileName(exampleProfile.name())\n .location(example.location())\n .resourceGroupName(example.name())\n .origins(EndpointOriginArgs.builder()\n .name(\"example\")\n .hostName(\"www.contoso.com\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: azure:core:ResourceGroup\n properties:\n name: example-resources\n location: West Europe\n exampleProfile:\n type: azure:cdn:Profile\n name: example\n properties:\n name: example-cdn\n location: ${example.location}\n resourceGroupName: ${example.name}\n sku: Standard_Verizon\n exampleEndpoint:\n type: azure:cdn:Endpoint\n name: example\n properties:\n name: example\n profileName: ${exampleProfile.name}\n location: ${example.location}\n resourceGroupName: ${example.name}\n origins:\n - name: example\n hostName: www.contoso.com\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nCDN Endpoints can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:cdn/endpoint:Endpoint example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Cdn/profiles/myprofile1/endpoints/myendpoint1\n```\n\n", + "description": "A CDN Endpoint is the entity within a CDN Profile containing configuration information regarding caching behaviours and origins. The CDN Endpoint is exposed using the URL format `\u003cendpointname\u003e.azureedge.net`.\n\n!\u003e **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue - however unfortunately this may necessitate a breaking change to the CDN and FrontDoor resources, more information will be posted in the GitHub issue as the necessary changes are identified.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\n\nconst example = new azure.core.ResourceGroup(\"example\", {\n name: \"example-resources\",\n location: \"West Europe\",\n});\nconst exampleProfile = new azure.cdn.Profile(\"example\", {\n name: \"example-cdn\",\n location: example.location,\n resourceGroupName: example.name,\n sku: \"Standard_Verizon\",\n});\nconst exampleEndpoint = new azure.cdn.Endpoint(\"example\", {\n name: \"example\",\n profileName: exampleProfile.name,\n location: example.location,\n resourceGroupName: example.name,\n origins: [{\n name: \"example\",\n hostName: \"www.contoso.com\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\n\nexample = azure.core.ResourceGroup(\"example\",\n name=\"example-resources\",\n location=\"West Europe\")\nexample_profile = azure.cdn.Profile(\"example\",\n name=\"example-cdn\",\n location=example.location,\n resource_group_name=example.name,\n sku=\"Standard_Verizon\")\nexample_endpoint = azure.cdn.Endpoint(\"example\",\n name=\"example\",\n profile_name=example_profile.name,\n location=example.location,\n resource_group_name=example.name,\n origins=[{\n \"name\": \"example\",\n \"host_name\": \"www.contoso.com\",\n }])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Azure.Core.ResourceGroup(\"example\", new()\n {\n Name = \"example-resources\",\n Location = \"West Europe\",\n });\n\n var exampleProfile = new Azure.Cdn.Profile(\"example\", new()\n {\n Name = \"example-cdn\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n Sku = \"Standard_Verizon\",\n });\n\n var exampleEndpoint = new Azure.Cdn.Endpoint(\"example\", new()\n {\n Name = \"example\",\n ProfileName = exampleProfile.Name,\n Location = example.Location,\n ResourceGroupName = example.Name,\n Origins = new[]\n {\n new Azure.Cdn.Inputs.EndpointOriginArgs\n {\n Name = \"example\",\n HostName = \"www.contoso.com\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/cdn\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := core.NewResourceGroup(ctx, \"example\", \u0026core.ResourceGroupArgs{\n\t\t\tName: pulumi.String(\"example-resources\"),\n\t\t\tLocation: pulumi.String(\"West Europe\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleProfile, err := cdn.NewProfile(ctx, \"example\", \u0026cdn.ProfileArgs{\n\t\t\tName: pulumi.String(\"example-cdn\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tSku: pulumi.String(\"Standard_Verizon\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = cdn.NewEndpoint(ctx, \"example\", \u0026cdn.EndpointArgs{\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tProfileName: exampleProfile.Name,\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tOrigins: cdn.EndpointOriginArray{\n\t\t\t\t\u0026cdn.EndpointOriginArgs{\n\t\t\t\t\tName: pulumi.String(\"example\"),\n\t\t\t\t\tHostName: pulumi.String(\"www.contoso.com\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azure.core.ResourceGroup;\nimport com.pulumi.azure.core.ResourceGroupArgs;\nimport com.pulumi.azure.cdn.Profile;\nimport com.pulumi.azure.cdn.ProfileArgs;\nimport com.pulumi.azure.cdn.Endpoint;\nimport com.pulumi.azure.cdn.EndpointArgs;\nimport com.pulumi.azure.cdn.inputs.EndpointOriginArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ResourceGroup(\"example\", ResourceGroupArgs.builder()\n .name(\"example-resources\")\n .location(\"West Europe\")\n .build());\n\n var exampleProfile = new Profile(\"exampleProfile\", ProfileArgs.builder()\n .name(\"example-cdn\")\n .location(example.location())\n .resourceGroupName(example.name())\n .sku(\"Standard_Verizon\")\n .build());\n\n var exampleEndpoint = new Endpoint(\"exampleEndpoint\", EndpointArgs.builder()\n .name(\"example\")\n .profileName(exampleProfile.name())\n .location(example.location())\n .resourceGroupName(example.name())\n .origins(EndpointOriginArgs.builder()\n .name(\"example\")\n .hostName(\"www.contoso.com\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: azure:core:ResourceGroup\n properties:\n name: example-resources\n location: West Europe\n exampleProfile:\n type: azure:cdn:Profile\n name: example\n properties:\n name: example-cdn\n location: ${example.location}\n resourceGroupName: ${example.name}\n sku: Standard_Verizon\n exampleEndpoint:\n type: azure:cdn:Endpoint\n name: example\n properties:\n name: example\n profileName: ${exampleProfile.name}\n location: ${example.location}\n resourceGroupName: ${example.name}\n origins:\n - name: example\n hostName: www.contoso.com\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nCDN Endpoints can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:cdn/endpoint:Endpoint example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Cdn/profiles/myprofile1/endpoints/myendpoint1\n```\n\n", "properties": { "contentTypesToCompresses": { "type": "array", @@ -141583,7 +141583,7 @@ } }, "azure:cdn/profile:Profile": { - "description": "Manages a CDN Profile to create a collection of CDN Endpoints.\n\n!\u003e **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue as the necessary changes are identified.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\n\nconst example = new azure.core.ResourceGroup(\"example\", {\n name: \"example-resources\",\n location: \"West Europe\",\n});\nconst exampleProfile = new azure.cdn.Profile(\"example\", {\n name: \"exampleCdnProfile\",\n location: example.location,\n resourceGroupName: example.name,\n sku: \"Standard_Verizon\",\n tags: {\n environment: \"Production\",\n cost_center: \"MSFT\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\n\nexample = azure.core.ResourceGroup(\"example\",\n name=\"example-resources\",\n location=\"West Europe\")\nexample_profile = azure.cdn.Profile(\"example\",\n name=\"exampleCdnProfile\",\n location=example.location,\n resource_group_name=example.name,\n sku=\"Standard_Verizon\",\n tags={\n \"environment\": \"Production\",\n \"cost_center\": \"MSFT\",\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Azure.Core.ResourceGroup(\"example\", new()\n {\n Name = \"example-resources\",\n Location = \"West Europe\",\n });\n\n var exampleProfile = new Azure.Cdn.Profile(\"example\", new()\n {\n Name = \"exampleCdnProfile\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n Sku = \"Standard_Verizon\",\n Tags = \n {\n { \"environment\", \"Production\" },\n { \"cost_center\", \"MSFT\" },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/cdn\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := core.NewResourceGroup(ctx, \"example\", \u0026core.ResourceGroupArgs{\n\t\t\tName: pulumi.String(\"example-resources\"),\n\t\t\tLocation: pulumi.String(\"West Europe\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = cdn.NewProfile(ctx, \"example\", \u0026cdn.ProfileArgs{\n\t\t\tName: pulumi.String(\"exampleCdnProfile\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tSku: pulumi.String(\"Standard_Verizon\"),\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"environment\": pulumi.String(\"Production\"),\n\t\t\t\t\"cost_center\": pulumi.String(\"MSFT\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azure.core.ResourceGroup;\nimport com.pulumi.azure.core.ResourceGroupArgs;\nimport com.pulumi.azure.cdn.Profile;\nimport com.pulumi.azure.cdn.ProfileArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ResourceGroup(\"example\", ResourceGroupArgs.builder()\n .name(\"example-resources\")\n .location(\"West Europe\")\n .build());\n\n var exampleProfile = new Profile(\"exampleProfile\", ProfileArgs.builder()\n .name(\"exampleCdnProfile\")\n .location(example.location())\n .resourceGroupName(example.name())\n .sku(\"Standard_Verizon\")\n .tags(Map.ofEntries(\n Map.entry(\"environment\", \"Production\"),\n Map.entry(\"cost_center\", \"MSFT\")\n ))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: azure:core:ResourceGroup\n properties:\n name: example-resources\n location: West Europe\n exampleProfile:\n type: azure:cdn:Profile\n name: example\n properties:\n name: exampleCdnProfile\n location: ${example.location}\n resourceGroupName: ${example.name}\n sku: Standard_Verizon\n tags:\n environment: Production\n cost_center: MSFT\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nCDN Profiles can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:cdn/profile:Profile example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Cdn/profiles/myprofile1\n```\n\n", + "description": "Manages a CDN Profile to create a collection of CDN Endpoints.\n\n!\u003e **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue - however unfortunately this may necessitate a breaking change to the CDN and FrontDoor resources, more information will be posted in the GitHub issue as the necessary changes are identified.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\n\nconst example = new azure.core.ResourceGroup(\"example\", {\n name: \"example-resources\",\n location: \"West Europe\",\n});\nconst exampleProfile = new azure.cdn.Profile(\"example\", {\n name: \"exampleCdnProfile\",\n location: example.location,\n resourceGroupName: example.name,\n sku: \"Standard_Verizon\",\n tags: {\n environment: \"Production\",\n cost_center: \"MSFT\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\n\nexample = azure.core.ResourceGroup(\"example\",\n name=\"example-resources\",\n location=\"West Europe\")\nexample_profile = azure.cdn.Profile(\"example\",\n name=\"exampleCdnProfile\",\n location=example.location,\n resource_group_name=example.name,\n sku=\"Standard_Verizon\",\n tags={\n \"environment\": \"Production\",\n \"cost_center\": \"MSFT\",\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Azure.Core.ResourceGroup(\"example\", new()\n {\n Name = \"example-resources\",\n Location = \"West Europe\",\n });\n\n var exampleProfile = new Azure.Cdn.Profile(\"example\", new()\n {\n Name = \"exampleCdnProfile\",\n Location = example.Location,\n ResourceGroupName = example.Name,\n Sku = \"Standard_Verizon\",\n Tags = \n {\n { \"environment\", \"Production\" },\n { \"cost_center\", \"MSFT\" },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/cdn\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := core.NewResourceGroup(ctx, \"example\", \u0026core.ResourceGroupArgs{\n\t\t\tName: pulumi.String(\"example-resources\"),\n\t\t\tLocation: pulumi.String(\"West Europe\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = cdn.NewProfile(ctx, \"example\", \u0026cdn.ProfileArgs{\n\t\t\tName: pulumi.String(\"exampleCdnProfile\"),\n\t\t\tLocation: example.Location,\n\t\t\tResourceGroupName: example.Name,\n\t\t\tSku: pulumi.String(\"Standard_Verizon\"),\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"environment\": pulumi.String(\"Production\"),\n\t\t\t\t\"cost_center\": pulumi.String(\"MSFT\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azure.core.ResourceGroup;\nimport com.pulumi.azure.core.ResourceGroupArgs;\nimport com.pulumi.azure.cdn.Profile;\nimport com.pulumi.azure.cdn.ProfileArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ResourceGroup(\"example\", ResourceGroupArgs.builder()\n .name(\"example-resources\")\n .location(\"West Europe\")\n .build());\n\n var exampleProfile = new Profile(\"exampleProfile\", ProfileArgs.builder()\n .name(\"exampleCdnProfile\")\n .location(example.location())\n .resourceGroupName(example.name())\n .sku(\"Standard_Verizon\")\n .tags(Map.ofEntries(\n Map.entry(\"environment\", \"Production\"),\n Map.entry(\"cost_center\", \"MSFT\")\n ))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: azure:core:ResourceGroup\n properties:\n name: example-resources\n location: West Europe\n exampleProfile:\n type: azure:cdn:Profile\n name: example\n properties:\n name: exampleCdnProfile\n location: ${example.location}\n resourceGroupName: ${example.name}\n sku: Standard_Verizon\n tags:\n environment: Production\n cost_center: MSFT\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nCDN Profiles can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:cdn/profile:Profile example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Cdn/profiles/myprofile1\n```\n\n", "properties": { "location": { "type": "string", @@ -151370,7 +151370,7 @@ }, "hotpatchingEnabled": { "type": "boolean", - "description": "Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch).\n\n\u003e **NOTE:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, and the VM's `size` is set to a Azure generation 2 directory within the GitHub Repository.\n" + "description": "Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch).\n\n\u003e **NOTE:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, and the VM's `size` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM. An example of how to correctly configure a Windows Virtual Machine to use the `hotpatching_enabled` field can be found in the `./examples/virtual-machines/windows/hotpatching-enabled` directory within the GitHub Repository.\n" }, "identity": { "$ref": "#/types/azure:compute/WindowsVirtualMachineIdentity:WindowsVirtualMachineIdentity", @@ -151653,7 +151653,7 @@ }, "hotpatchingEnabled": { "type": "boolean", - "description": "Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch).\n\n\u003e **NOTE:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, and the VM's `size` is set to a Azure generation 2 directory within the GitHub Repository.\n" + "description": "Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch).\n\n\u003e **NOTE:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, and the VM's `size` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM. An example of how to correctly configure a Windows Virtual Machine to use the `hotpatching_enabled` field can be found in the `./examples/virtual-machines/windows/hotpatching-enabled` directory within the GitHub Repository.\n" }, "identity": { "$ref": "#/types/azure:compute/WindowsVirtualMachineIdentity:WindowsVirtualMachineIdentity", @@ -151916,7 +151916,7 @@ }, "hotpatchingEnabled": { "type": "boolean", - "description": "Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch).\n\n\u003e **NOTE:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, and the VM's `size` is set to a Azure generation 2 directory within the GitHub Repository.\n" + "description": "Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch).\n\n\u003e **NOTE:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, and the VM's `size` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM. An example of how to correctly configure a Windows Virtual Machine to use the `hotpatching_enabled` field can be found in the `./examples/virtual-machines/windows/hotpatching-enabled` directory within the GitHub Repository.\n" }, "identity": { "$ref": "#/types/azure:compute/WindowsVirtualMachineIdentity:WindowsVirtualMachineIdentity", @@ -192552,7 +192552,7 @@ } }, "azure:frontdoor/customHttpsConfiguration:CustomHttpsConfiguration": { - "description": "!\u003e **IMPORTANT** This deploys an Azure Front Door (classic) resource which has been deprecated and will receive security updates only. Please migrate your existing Azure Front Door (classic) deployments to the new Azure Front Door (standard/premium) resources. For your convenience, the service team has exposed a `Front Door Classic` to `Front Door Standard/Premium` [migration tool](https://learn.microsoft.com/azure/frontdoor/tier-migration) to allow you to migrate your existing `Front Door Classic` instances to the new `Front Door Standard/Premium` product tiers.\n\nManages the Custom HTTPS Configuration for an Azure Front Door (classic) Frontend Endpoint.\n\n\u003e **NOTE:** Defining custom HTTPS configurations using a separate `azure.frontdoor.CustomHttpsConfiguration` resource allows for parallel creation/update.\n\n!\u003e **BREAKING CHANGE:** In order to address the ordering issue we have changed the design on how to retrieve existing sub resources such as frontend endpoints. Existing design will be deprecated and will result in an incorrect configuration. Please refer to the updated documentation below for more information.\n\n!\u003e **BREAKING CHANGE:** The `resource_group_name` field has been removed as of the `v2.58.0` provider release. If the `resource_group_name` field has been defined in your current `azure.frontdoor.CustomHttpsConfiguration` resource configuration file please remove it else you will receive a `An argument named \"resource_group_name\" is not expected here.` error. If your pre-existing Front Door instance contained inline `custom_https_configuration` blocks there are additional steps that will need to be completed to successfully migrate your Front Door onto the `v2.58.0` provider which can be found in this guide.\n\n!\u003e **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue as the necessary changes are identified.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\n\nconst example = new azure.core.ResourceGroup(\"example\", {\n name: \"FrontDoorExampleResourceGroup\",\n location: \"West Europe\",\n});\nconst vault = azure.keyvault.getKeyVault({\n name: \"example-vault\",\n resourceGroupName: \"example-vault-rg\",\n});\nconst exampleFrontdoor = new azure.frontdoor.Frontdoor(\"example\", {\n name: \"example-FrontDoor\",\n resourceGroupName: example.name,\n routingRules: [{\n name: \"exampleRoutingRule1\",\n acceptedProtocols: [\n \"Http\",\n \"Https\",\n ],\n patternsToMatches: [\"/*\"],\n frontendEndpoints: [\"exampleFrontendEndpoint1\"],\n forwardingConfiguration: {\n forwardingProtocol: \"MatchRequest\",\n backendPoolName: \"exampleBackendBing\",\n },\n }],\n backendPoolLoadBalancings: [{\n name: \"exampleLoadBalancingSettings1\",\n }],\n backendPoolHealthProbes: [{\n name: \"exampleHealthProbeSetting1\",\n }],\n backendPools: [{\n name: \"exampleBackendBing\",\n backends: [{\n hostHeader: \"www.bing.com\",\n address: \"www.bing.com\",\n httpPort: 80,\n httpsPort: 443,\n }],\n loadBalancingName: \"exampleLoadBalancingSettings1\",\n healthProbeName: \"exampleHealthProbeSetting1\",\n }],\n frontendEndpoints: [\n {\n name: \"exampleFrontendEndpoint1\",\n hostName: \"example-FrontDoor.azurefd.net\",\n },\n {\n name: \"exampleFrontendEndpoint2\",\n hostName: \"examplefd1.examplefd.net\",\n },\n ],\n});\nconst exampleCustomHttps0 = new azure.frontdoor.CustomHttpsConfiguration(\"example_custom_https_0\", {\n frontendEndpointId: exampleFrontdoor.frontendEndpointsMap.exampleFrontendEndpoint1,\n customHttpsProvisioningEnabled: false,\n});\nconst exampleCustomHttps1 = new azure.frontdoor.CustomHttpsConfiguration(\"example_custom_https_1\", {\n frontendEndpointId: exampleFrontdoor.frontendEndpointsMap.exampleFrontendEndpoint2,\n customHttpsProvisioningEnabled: true,\n customHttpsConfiguration: {\n certificateSource: \"AzureKeyVault\",\n azureKeyVaultCertificateSecretName: \"examplefd1\",\n azureKeyVaultCertificateVaultId: vault.then(vault =\u003e vault.id),\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\n\nexample = azure.core.ResourceGroup(\"example\",\n name=\"FrontDoorExampleResourceGroup\",\n location=\"West Europe\")\nvault = azure.keyvault.get_key_vault(name=\"example-vault\",\n resource_group_name=\"example-vault-rg\")\nexample_frontdoor = azure.frontdoor.Frontdoor(\"example\",\n name=\"example-FrontDoor\",\n resource_group_name=example.name,\n routing_rules=[{\n \"name\": \"exampleRoutingRule1\",\n \"accepted_protocols\": [\n \"Http\",\n \"Https\",\n ],\n \"patterns_to_matches\": [\"/*\"],\n \"frontend_endpoints\": [\"exampleFrontendEndpoint1\"],\n \"forwarding_configuration\": {\n \"forwarding_protocol\": \"MatchRequest\",\n \"backend_pool_name\": \"exampleBackendBing\",\n },\n }],\n backend_pool_load_balancings=[{\n \"name\": \"exampleLoadBalancingSettings1\",\n }],\n backend_pool_health_probes=[{\n \"name\": \"exampleHealthProbeSetting1\",\n }],\n backend_pools=[{\n \"name\": \"exampleBackendBing\",\n \"backends\": [{\n \"host_header\": \"www.bing.com\",\n \"address\": \"www.bing.com\",\n \"http_port\": 80,\n \"https_port\": 443,\n }],\n \"load_balancing_name\": \"exampleLoadBalancingSettings1\",\n \"health_probe_name\": \"exampleHealthProbeSetting1\",\n }],\n frontend_endpoints=[\n {\n \"name\": \"exampleFrontendEndpoint1\",\n \"host_name\": \"example-FrontDoor.azurefd.net\",\n },\n {\n \"name\": \"exampleFrontendEndpoint2\",\n \"host_name\": \"examplefd1.examplefd.net\",\n },\n ])\nexample_custom_https0 = azure.frontdoor.CustomHttpsConfiguration(\"example_custom_https_0\",\n frontend_endpoint_id=example_frontdoor.frontend_endpoints_map[\"exampleFrontendEndpoint1\"],\n custom_https_provisioning_enabled=False)\nexample_custom_https1 = azure.frontdoor.CustomHttpsConfiguration(\"example_custom_https_1\",\n frontend_endpoint_id=example_frontdoor.frontend_endpoints_map[\"exampleFrontendEndpoint2\"],\n custom_https_provisioning_enabled=True,\n custom_https_configuration={\n \"certificate_source\": \"AzureKeyVault\",\n \"azure_key_vault_certificate_secret_name\": \"examplefd1\",\n \"azure_key_vault_certificate_vault_id\": vault.id,\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Azure.Core.ResourceGroup(\"example\", new()\n {\n Name = \"FrontDoorExampleResourceGroup\",\n Location = \"West Europe\",\n });\n\n var vault = Azure.KeyVault.GetKeyVault.Invoke(new()\n {\n Name = \"example-vault\",\n ResourceGroupName = \"example-vault-rg\",\n });\n\n var exampleFrontdoor = new Azure.FrontDoor.Frontdoor(\"example\", new()\n {\n Name = \"example-FrontDoor\",\n ResourceGroupName = example.Name,\n RoutingRules = new[]\n {\n new Azure.FrontDoor.Inputs.FrontdoorRoutingRuleArgs\n {\n Name = \"exampleRoutingRule1\",\n AcceptedProtocols = new[]\n {\n \"Http\",\n \"Https\",\n },\n PatternsToMatches = new[]\n {\n \"/*\",\n },\n FrontendEndpoints = new[]\n {\n \"exampleFrontendEndpoint1\",\n },\n ForwardingConfiguration = new Azure.FrontDoor.Inputs.FrontdoorRoutingRuleForwardingConfigurationArgs\n {\n ForwardingProtocol = \"MatchRequest\",\n BackendPoolName = \"exampleBackendBing\",\n },\n },\n },\n BackendPoolLoadBalancings = new[]\n {\n new Azure.FrontDoor.Inputs.FrontdoorBackendPoolLoadBalancingArgs\n {\n Name = \"exampleLoadBalancingSettings1\",\n },\n },\n BackendPoolHealthProbes = new[]\n {\n new Azure.FrontDoor.Inputs.FrontdoorBackendPoolHealthProbeArgs\n {\n Name = \"exampleHealthProbeSetting1\",\n },\n },\n BackendPools = new[]\n {\n new Azure.FrontDoor.Inputs.FrontdoorBackendPoolArgs\n {\n Name = \"exampleBackendBing\",\n Backends = new[]\n {\n new Azure.FrontDoor.Inputs.FrontdoorBackendPoolBackendArgs\n {\n HostHeader = \"www.bing.com\",\n Address = \"www.bing.com\",\n HttpPort = 80,\n HttpsPort = 443,\n },\n },\n LoadBalancingName = \"exampleLoadBalancingSettings1\",\n HealthProbeName = \"exampleHealthProbeSetting1\",\n },\n },\n FrontendEndpoints = new[]\n {\n new Azure.FrontDoor.Inputs.FrontdoorFrontendEndpointArgs\n {\n Name = \"exampleFrontendEndpoint1\",\n HostName = \"example-FrontDoor.azurefd.net\",\n },\n new Azure.FrontDoor.Inputs.FrontdoorFrontendEndpointArgs\n {\n Name = \"exampleFrontendEndpoint2\",\n HostName = \"examplefd1.examplefd.net\",\n },\n },\n });\n\n var exampleCustomHttps0 = new Azure.FrontDoor.CustomHttpsConfiguration(\"example_custom_https_0\", new()\n {\n FrontendEndpointId = exampleFrontdoor.FrontendEndpointsMap.Apply(frontendEndpointsMap =\u003e frontendEndpointsMap.ExampleFrontendEndpoint1),\n CustomHttpsProvisioningEnabled = false,\n });\n\n var exampleCustomHttps1 = new Azure.FrontDoor.CustomHttpsConfiguration(\"example_custom_https_1\", new()\n {\n FrontendEndpointId = exampleFrontdoor.FrontendEndpointsMap.Apply(frontendEndpointsMap =\u003e frontendEndpointsMap.ExampleFrontendEndpoint2),\n CustomHttpsProvisioningEnabled = true,\n CustomHttpsConfigurationConfig = new Azure.FrontDoor.Inputs.CustomHttpsConfigurationCustomHttpsConfigurationArgs\n {\n CertificateSource = \"AzureKeyVault\",\n AzureKeyVaultCertificateSecretName = \"examplefd1\",\n AzureKeyVaultCertificateVaultId = vault.Apply(getKeyVaultResult =\u003e getKeyVaultResult.Id),\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/frontdoor\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/keyvault\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := core.NewResourceGroup(ctx, \"example\", \u0026core.ResourceGroupArgs{\n\t\t\tName: pulumi.String(\"FrontDoorExampleResourceGroup\"),\n\t\t\tLocation: pulumi.String(\"West Europe\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tvault, err := keyvault.LookupKeyVault(ctx, \u0026keyvault.LookupKeyVaultArgs{\n\t\t\tName: \"example-vault\",\n\t\t\tResourceGroupName: \"example-vault-rg\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleFrontdoor, err := frontdoor.NewFrontdoor(ctx, \"example\", \u0026frontdoor.FrontdoorArgs{\n\t\t\tName: pulumi.String(\"example-FrontDoor\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tRoutingRules: frontdoor.FrontdoorRoutingRuleArray{\n\t\t\t\t\u0026frontdoor.FrontdoorRoutingRuleArgs{\n\t\t\t\t\tName: pulumi.String(\"exampleRoutingRule1\"),\n\t\t\t\t\tAcceptedProtocols: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"Http\"),\n\t\t\t\t\t\tpulumi.String(\"Https\"),\n\t\t\t\t\t},\n\t\t\t\t\tPatternsToMatches: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"/*\"),\n\t\t\t\t\t},\n\t\t\t\t\tFrontendEndpoints: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"exampleFrontendEndpoint1\"),\n\t\t\t\t\t},\n\t\t\t\t\tForwardingConfiguration: \u0026frontdoor.FrontdoorRoutingRuleForwardingConfigurationArgs{\n\t\t\t\t\t\tForwardingProtocol: pulumi.String(\"MatchRequest\"),\n\t\t\t\t\t\tBackendPoolName: pulumi.String(\"exampleBackendBing\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tBackendPoolLoadBalancings: frontdoor.FrontdoorBackendPoolLoadBalancingArray{\n\t\t\t\t\u0026frontdoor.FrontdoorBackendPoolLoadBalancingArgs{\n\t\t\t\t\tName: pulumi.String(\"exampleLoadBalancingSettings1\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tBackendPoolHealthProbes: frontdoor.FrontdoorBackendPoolHealthProbeArray{\n\t\t\t\t\u0026frontdoor.FrontdoorBackendPoolHealthProbeArgs{\n\t\t\t\t\tName: pulumi.String(\"exampleHealthProbeSetting1\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tBackendPools: frontdoor.FrontdoorBackendPoolArray{\n\t\t\t\t\u0026frontdoor.FrontdoorBackendPoolArgs{\n\t\t\t\t\tName: pulumi.String(\"exampleBackendBing\"),\n\t\t\t\t\tBackends: frontdoor.FrontdoorBackendPoolBackendArray{\n\t\t\t\t\t\t\u0026frontdoor.FrontdoorBackendPoolBackendArgs{\n\t\t\t\t\t\t\tHostHeader: pulumi.String(\"www.bing.com\"),\n\t\t\t\t\t\t\tAddress: pulumi.String(\"www.bing.com\"),\n\t\t\t\t\t\t\tHttpPort: pulumi.Int(80),\n\t\t\t\t\t\t\tHttpsPort: pulumi.Int(443),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tLoadBalancingName: pulumi.String(\"exampleLoadBalancingSettings1\"),\n\t\t\t\t\tHealthProbeName: pulumi.String(\"exampleHealthProbeSetting1\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tFrontendEndpoints: frontdoor.FrontdoorFrontendEndpointArray{\n\t\t\t\t\u0026frontdoor.FrontdoorFrontendEndpointArgs{\n\t\t\t\t\tName: pulumi.String(\"exampleFrontendEndpoint1\"),\n\t\t\t\t\tHostName: pulumi.String(\"example-FrontDoor.azurefd.net\"),\n\t\t\t\t},\n\t\t\t\t\u0026frontdoor.FrontdoorFrontendEndpointArgs{\n\t\t\t\t\tName: pulumi.String(\"exampleFrontendEndpoint2\"),\n\t\t\t\t\tHostName: pulumi.String(\"examplefd1.examplefd.net\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = frontdoor.NewCustomHttpsConfiguration(ctx, \"example_custom_https_0\", \u0026frontdoor.CustomHttpsConfigurationArgs{\n\t\t\tFrontendEndpointId: exampleFrontdoor.FrontendEndpointsMap.ApplyT(func(frontendEndpointsMap map[string]string) (string, error) {\n\t\t\t\treturn frontendEndpointsMap.ExampleFrontendEndpoint1, nil\n\t\t\t}).(pulumi.StringOutput),\n\t\t\tCustomHttpsProvisioningEnabled: pulumi.Bool(false),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = frontdoor.NewCustomHttpsConfiguration(ctx, \"example_custom_https_1\", \u0026frontdoor.CustomHttpsConfigurationArgs{\n\t\t\tFrontendEndpointId: exampleFrontdoor.FrontendEndpointsMap.ApplyT(func(frontendEndpointsMap map[string]string) (string, error) {\n\t\t\t\treturn frontendEndpointsMap.ExampleFrontendEndpoint2, nil\n\t\t\t}).(pulumi.StringOutput),\n\t\t\tCustomHttpsProvisioningEnabled: pulumi.Bool(true),\n\t\t\tCustomHttpsConfiguration: \u0026frontdoor.CustomHttpsConfigurationCustomHttpsConfigurationArgs{\n\t\t\t\tCertificateSource: pulumi.String(\"AzureKeyVault\"),\n\t\t\t\tAzureKeyVaultCertificateSecretName: pulumi.String(\"examplefd1\"),\n\t\t\t\tAzureKeyVaultCertificateVaultId: pulumi.String(vault.Id),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azure.core.ResourceGroup;\nimport com.pulumi.azure.core.ResourceGroupArgs;\nimport com.pulumi.azure.keyvault.KeyvaultFunctions;\nimport com.pulumi.azure.keyvault.inputs.GetKeyVaultArgs;\nimport com.pulumi.azure.frontdoor.Frontdoor;\nimport com.pulumi.azure.frontdoor.FrontdoorArgs;\nimport com.pulumi.azure.frontdoor.inputs.FrontdoorRoutingRuleArgs;\nimport com.pulumi.azure.frontdoor.inputs.FrontdoorRoutingRuleForwardingConfigurationArgs;\nimport com.pulumi.azure.frontdoor.inputs.FrontdoorBackendPoolLoadBalancingArgs;\nimport com.pulumi.azure.frontdoor.inputs.FrontdoorBackendPoolHealthProbeArgs;\nimport com.pulumi.azure.frontdoor.inputs.FrontdoorBackendPoolArgs;\nimport com.pulumi.azure.frontdoor.inputs.FrontdoorFrontendEndpointArgs;\nimport com.pulumi.azure.frontdoor.CustomHttpsConfiguration;\nimport com.pulumi.azure.frontdoor.CustomHttpsConfigurationArgs;\nimport com.pulumi.azure.frontdoor.inputs.CustomHttpsConfigurationCustomHttpsConfigurationArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ResourceGroup(\"example\", ResourceGroupArgs.builder()\n .name(\"FrontDoorExampleResourceGroup\")\n .location(\"West Europe\")\n .build());\n\n final var vault = KeyvaultFunctions.getKeyVault(GetKeyVaultArgs.builder()\n .name(\"example-vault\")\n .resourceGroupName(\"example-vault-rg\")\n .build());\n\n var exampleFrontdoor = new Frontdoor(\"exampleFrontdoor\", FrontdoorArgs.builder()\n .name(\"example-FrontDoor\")\n .resourceGroupName(example.name())\n .routingRules(FrontdoorRoutingRuleArgs.builder()\n .name(\"exampleRoutingRule1\")\n .acceptedProtocols( \n \"Http\",\n \"Https\")\n .patternsToMatches(\"/*\")\n .frontendEndpoints(\"exampleFrontendEndpoint1\")\n .forwardingConfiguration(FrontdoorRoutingRuleForwardingConfigurationArgs.builder()\n .forwardingProtocol(\"MatchRequest\")\n .backendPoolName(\"exampleBackendBing\")\n .build())\n .build())\n .backendPoolLoadBalancings(FrontdoorBackendPoolLoadBalancingArgs.builder()\n .name(\"exampleLoadBalancingSettings1\")\n .build())\n .backendPoolHealthProbes(FrontdoorBackendPoolHealthProbeArgs.builder()\n .name(\"exampleHealthProbeSetting1\")\n .build())\n .backendPools(FrontdoorBackendPoolArgs.builder()\n .name(\"exampleBackendBing\")\n .backends(FrontdoorBackendPoolBackendArgs.builder()\n .hostHeader(\"www.bing.com\")\n .address(\"www.bing.com\")\n .httpPort(80)\n .httpsPort(443)\n .build())\n .loadBalancingName(\"exampleLoadBalancingSettings1\")\n .healthProbeName(\"exampleHealthProbeSetting1\")\n .build())\n .frontendEndpoints( \n FrontdoorFrontendEndpointArgs.builder()\n .name(\"exampleFrontendEndpoint1\")\n .hostName(\"example-FrontDoor.azurefd.net\")\n .build(),\n FrontdoorFrontendEndpointArgs.builder()\n .name(\"exampleFrontendEndpoint2\")\n .hostName(\"examplefd1.examplefd.net\")\n .build())\n .build());\n\n var exampleCustomHttps0 = new CustomHttpsConfiguration(\"exampleCustomHttps0\", CustomHttpsConfigurationArgs.builder()\n .frontendEndpointId(exampleFrontdoor.frontendEndpointsMap().applyValue(frontendEndpointsMap -\u003e frontendEndpointsMap.exampleFrontendEndpoint1()))\n .customHttpsProvisioningEnabled(false)\n .build());\n\n var exampleCustomHttps1 = new CustomHttpsConfiguration(\"exampleCustomHttps1\", CustomHttpsConfigurationArgs.builder()\n .frontendEndpointId(exampleFrontdoor.frontendEndpointsMap().applyValue(frontendEndpointsMap -\u003e frontendEndpointsMap.exampleFrontendEndpoint2()))\n .customHttpsProvisioningEnabled(true)\n .customHttpsConfiguration(CustomHttpsConfigurationCustomHttpsConfigurationArgs.builder()\n .certificateSource(\"AzureKeyVault\")\n .azureKeyVaultCertificateSecretName(\"examplefd1\")\n .azureKeyVaultCertificateVaultId(vault.applyValue(getKeyVaultResult -\u003e getKeyVaultResult.id()))\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: azure:core:ResourceGroup\n properties:\n name: FrontDoorExampleResourceGroup\n location: West Europe\n exampleFrontdoor:\n type: azure:frontdoor:Frontdoor\n name: example\n properties:\n name: example-FrontDoor\n resourceGroupName: ${example.name}\n routingRules:\n - name: exampleRoutingRule1\n acceptedProtocols:\n - Http\n - Https\n patternsToMatches:\n - /*\n frontendEndpoints:\n - exampleFrontendEndpoint1\n forwardingConfiguration:\n forwardingProtocol: MatchRequest\n backendPoolName: exampleBackendBing\n backendPoolLoadBalancings:\n - name: exampleLoadBalancingSettings1\n backendPoolHealthProbes:\n - name: exampleHealthProbeSetting1\n backendPools:\n - name: exampleBackendBing\n backends:\n - hostHeader: www.bing.com\n address: www.bing.com\n httpPort: 80\n httpsPort: 443\n loadBalancingName: exampleLoadBalancingSettings1\n healthProbeName: exampleHealthProbeSetting1\n frontendEndpoints:\n - name: exampleFrontendEndpoint1\n hostName: example-FrontDoor.azurefd.net\n - name: exampleFrontendEndpoint2\n hostName: examplefd1.examplefd.net\n exampleCustomHttps0:\n type: azure:frontdoor:CustomHttpsConfiguration\n name: example_custom_https_0\n properties:\n frontendEndpointId: ${exampleFrontdoor.frontendEndpointsMap.exampleFrontendEndpoint1}\n customHttpsProvisioningEnabled: false\n exampleCustomHttps1:\n type: azure:frontdoor:CustomHttpsConfiguration\n name: example_custom_https_1\n properties:\n frontendEndpointId: ${exampleFrontdoor.frontendEndpointsMap.exampleFrontendEndpoint2}\n customHttpsProvisioningEnabled: true\n customHttpsConfiguration:\n certificateSource: AzureKeyVault\n azureKeyVaultCertificateSecretName: examplefd1\n azureKeyVaultCertificateVaultId: ${vault.id}\nvariables:\n vault:\n fn::invoke:\n Function: azure:keyvault:getKeyVault\n Arguments:\n name: example-vault\n resourceGroupName: example-vault-rg\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nFront Door Custom HTTPS Configurations can be imported using the `resource id` of the Front Door Custom HTTPS Configuration, e.g.\n\n```sh\n$ pulumi import azure:frontdoor/customHttpsConfiguration:CustomHttpsConfiguration example_custom_https_1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Network/frontDoors/frontdoor1/customHttpsConfiguration/endpoint1\n```\n\n", + "description": "!\u003e **IMPORTANT** This deploys an Azure Front Door (classic) resource which has been deprecated and will receive security updates only. Please migrate your existing Azure Front Door (classic) deployments to the new Azure Front Door (standard/premium) resources. For your convenience, the service team has exposed a `Front Door Classic` to `Front Door Standard/Premium` [migration tool](https://learn.microsoft.com/azure/frontdoor/tier-migration) to allow you to migrate your existing `Front Door Classic` instances to the new `Front Door Standard/Premium` product tiers.\n\nManages the Custom HTTPS Configuration for an Azure Front Door (classic) Frontend Endpoint.\n\n\u003e **NOTE:** Defining custom HTTPS configurations using a separate `azure.frontdoor.CustomHttpsConfiguration` resource allows for parallel creation/update.\n\n!\u003e **BREAKING CHANGE:** In order to address the ordering issue we have changed the design on how to retrieve existing sub resources such as frontend endpoints. Existing design will be deprecated and will result in an incorrect configuration. Please refer to the updated documentation below for more information.\n\n!\u003e **BREAKING CHANGE:** The `resource_group_name` field has been removed as of the `v2.58.0` provider release. If the `resource_group_name` field has been defined in your current `azure.frontdoor.CustomHttpsConfiguration` resource configuration file please remove it else you will receive a `An argument named \"resource_group_name\" is not expected here.` error. If your pre-existing Front Door instance contained inline `custom_https_configuration` blocks there are additional steps that will need to be completed to successfully migrate your Front Door onto the `v2.58.0` provider which can be found in this guide.\n\n!\u003e **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue - however unfortunately this may necessitate a breaking change to the CDN and Front Door resources, more information will be posted in the GitHub issue as the necessary changes are identified.\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\n\nconst example = new azure.core.ResourceGroup(\"example\", {\n name: \"FrontDoorExampleResourceGroup\",\n location: \"West Europe\",\n});\nconst vault = azure.keyvault.getKeyVault({\n name: \"example-vault\",\n resourceGroupName: \"example-vault-rg\",\n});\nconst exampleFrontdoor = new azure.frontdoor.Frontdoor(\"example\", {\n name: \"example-FrontDoor\",\n resourceGroupName: example.name,\n routingRules: [{\n name: \"exampleRoutingRule1\",\n acceptedProtocols: [\n \"Http\",\n \"Https\",\n ],\n patternsToMatches: [\"/*\"],\n frontendEndpoints: [\"exampleFrontendEndpoint1\"],\n forwardingConfiguration: {\n forwardingProtocol: \"MatchRequest\",\n backendPoolName: \"exampleBackendBing\",\n },\n }],\n backendPoolLoadBalancings: [{\n name: \"exampleLoadBalancingSettings1\",\n }],\n backendPoolHealthProbes: [{\n name: \"exampleHealthProbeSetting1\",\n }],\n backendPools: [{\n name: \"exampleBackendBing\",\n backends: [{\n hostHeader: \"www.bing.com\",\n address: \"www.bing.com\",\n httpPort: 80,\n httpsPort: 443,\n }],\n loadBalancingName: \"exampleLoadBalancingSettings1\",\n healthProbeName: \"exampleHealthProbeSetting1\",\n }],\n frontendEndpoints: [\n {\n name: \"exampleFrontendEndpoint1\",\n hostName: \"example-FrontDoor.azurefd.net\",\n },\n {\n name: \"exampleFrontendEndpoint2\",\n hostName: \"examplefd1.examplefd.net\",\n },\n ],\n});\nconst exampleCustomHttps0 = new azure.frontdoor.CustomHttpsConfiguration(\"example_custom_https_0\", {\n frontendEndpointId: exampleFrontdoor.frontendEndpointsMap.exampleFrontendEndpoint1,\n customHttpsProvisioningEnabled: false,\n});\nconst exampleCustomHttps1 = new azure.frontdoor.CustomHttpsConfiguration(\"example_custom_https_1\", {\n frontendEndpointId: exampleFrontdoor.frontendEndpointsMap.exampleFrontendEndpoint2,\n customHttpsProvisioningEnabled: true,\n customHttpsConfiguration: {\n certificateSource: \"AzureKeyVault\",\n azureKeyVaultCertificateSecretName: \"examplefd1\",\n azureKeyVaultCertificateVaultId: vault.then(vault =\u003e vault.id),\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\n\nexample = azure.core.ResourceGroup(\"example\",\n name=\"FrontDoorExampleResourceGroup\",\n location=\"West Europe\")\nvault = azure.keyvault.get_key_vault(name=\"example-vault\",\n resource_group_name=\"example-vault-rg\")\nexample_frontdoor = azure.frontdoor.Frontdoor(\"example\",\n name=\"example-FrontDoor\",\n resource_group_name=example.name,\n routing_rules=[{\n \"name\": \"exampleRoutingRule1\",\n \"accepted_protocols\": [\n \"Http\",\n \"Https\",\n ],\n \"patterns_to_matches\": [\"/*\"],\n \"frontend_endpoints\": [\"exampleFrontendEndpoint1\"],\n \"forwarding_configuration\": {\n \"forwarding_protocol\": \"MatchRequest\",\n \"backend_pool_name\": \"exampleBackendBing\",\n },\n }],\n backend_pool_load_balancings=[{\n \"name\": \"exampleLoadBalancingSettings1\",\n }],\n backend_pool_health_probes=[{\n \"name\": \"exampleHealthProbeSetting1\",\n }],\n backend_pools=[{\n \"name\": \"exampleBackendBing\",\n \"backends\": [{\n \"host_header\": \"www.bing.com\",\n \"address\": \"www.bing.com\",\n \"http_port\": 80,\n \"https_port\": 443,\n }],\n \"load_balancing_name\": \"exampleLoadBalancingSettings1\",\n \"health_probe_name\": \"exampleHealthProbeSetting1\",\n }],\n frontend_endpoints=[\n {\n \"name\": \"exampleFrontendEndpoint1\",\n \"host_name\": \"example-FrontDoor.azurefd.net\",\n },\n {\n \"name\": \"exampleFrontendEndpoint2\",\n \"host_name\": \"examplefd1.examplefd.net\",\n },\n ])\nexample_custom_https0 = azure.frontdoor.CustomHttpsConfiguration(\"example_custom_https_0\",\n frontend_endpoint_id=example_frontdoor.frontend_endpoints_map[\"exampleFrontendEndpoint1\"],\n custom_https_provisioning_enabled=False)\nexample_custom_https1 = azure.frontdoor.CustomHttpsConfiguration(\"example_custom_https_1\",\n frontend_endpoint_id=example_frontdoor.frontend_endpoints_map[\"exampleFrontendEndpoint2\"],\n custom_https_provisioning_enabled=True,\n custom_https_configuration={\n \"certificate_source\": \"AzureKeyVault\",\n \"azure_key_vault_certificate_secret_name\": \"examplefd1\",\n \"azure_key_vault_certificate_vault_id\": vault.id,\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Azure.Core.ResourceGroup(\"example\", new()\n {\n Name = \"FrontDoorExampleResourceGroup\",\n Location = \"West Europe\",\n });\n\n var vault = Azure.KeyVault.GetKeyVault.Invoke(new()\n {\n Name = \"example-vault\",\n ResourceGroupName = \"example-vault-rg\",\n });\n\n var exampleFrontdoor = new Azure.FrontDoor.Frontdoor(\"example\", new()\n {\n Name = \"example-FrontDoor\",\n ResourceGroupName = example.Name,\n RoutingRules = new[]\n {\n new Azure.FrontDoor.Inputs.FrontdoorRoutingRuleArgs\n {\n Name = \"exampleRoutingRule1\",\n AcceptedProtocols = new[]\n {\n \"Http\",\n \"Https\",\n },\n PatternsToMatches = new[]\n {\n \"/*\",\n },\n FrontendEndpoints = new[]\n {\n \"exampleFrontendEndpoint1\",\n },\n ForwardingConfiguration = new Azure.FrontDoor.Inputs.FrontdoorRoutingRuleForwardingConfigurationArgs\n {\n ForwardingProtocol = \"MatchRequest\",\n BackendPoolName = \"exampleBackendBing\",\n },\n },\n },\n BackendPoolLoadBalancings = new[]\n {\n new Azure.FrontDoor.Inputs.FrontdoorBackendPoolLoadBalancingArgs\n {\n Name = \"exampleLoadBalancingSettings1\",\n },\n },\n BackendPoolHealthProbes = new[]\n {\n new Azure.FrontDoor.Inputs.FrontdoorBackendPoolHealthProbeArgs\n {\n Name = \"exampleHealthProbeSetting1\",\n },\n },\n BackendPools = new[]\n {\n new Azure.FrontDoor.Inputs.FrontdoorBackendPoolArgs\n {\n Name = \"exampleBackendBing\",\n Backends = new[]\n {\n new Azure.FrontDoor.Inputs.FrontdoorBackendPoolBackendArgs\n {\n HostHeader = \"www.bing.com\",\n Address = \"www.bing.com\",\n HttpPort = 80,\n HttpsPort = 443,\n },\n },\n LoadBalancingName = \"exampleLoadBalancingSettings1\",\n HealthProbeName = \"exampleHealthProbeSetting1\",\n },\n },\n FrontendEndpoints = new[]\n {\n new Azure.FrontDoor.Inputs.FrontdoorFrontendEndpointArgs\n {\n Name = \"exampleFrontendEndpoint1\",\n HostName = \"example-FrontDoor.azurefd.net\",\n },\n new Azure.FrontDoor.Inputs.FrontdoorFrontendEndpointArgs\n {\n Name = \"exampleFrontendEndpoint2\",\n HostName = \"examplefd1.examplefd.net\",\n },\n },\n });\n\n var exampleCustomHttps0 = new Azure.FrontDoor.CustomHttpsConfiguration(\"example_custom_https_0\", new()\n {\n FrontendEndpointId = exampleFrontdoor.FrontendEndpointsMap.Apply(frontendEndpointsMap =\u003e frontendEndpointsMap.ExampleFrontendEndpoint1),\n CustomHttpsProvisioningEnabled = false,\n });\n\n var exampleCustomHttps1 = new Azure.FrontDoor.CustomHttpsConfiguration(\"example_custom_https_1\", new()\n {\n FrontendEndpointId = exampleFrontdoor.FrontendEndpointsMap.Apply(frontendEndpointsMap =\u003e frontendEndpointsMap.ExampleFrontendEndpoint2),\n CustomHttpsProvisioningEnabled = true,\n CustomHttpsConfigurationConfig = new Azure.FrontDoor.Inputs.CustomHttpsConfigurationCustomHttpsConfigurationArgs\n {\n CertificateSource = \"AzureKeyVault\",\n AzureKeyVaultCertificateSecretName = \"examplefd1\",\n AzureKeyVaultCertificateVaultId = vault.Apply(getKeyVaultResult =\u003e getKeyVaultResult.Id),\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/frontdoor\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/keyvault\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := core.NewResourceGroup(ctx, \"example\", \u0026core.ResourceGroupArgs{\n\t\t\tName: pulumi.String(\"FrontDoorExampleResourceGroup\"),\n\t\t\tLocation: pulumi.String(\"West Europe\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tvault, err := keyvault.LookupKeyVault(ctx, \u0026keyvault.LookupKeyVaultArgs{\n\t\t\tName: \"example-vault\",\n\t\t\tResourceGroupName: \"example-vault-rg\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleFrontdoor, err := frontdoor.NewFrontdoor(ctx, \"example\", \u0026frontdoor.FrontdoorArgs{\n\t\t\tName: pulumi.String(\"example-FrontDoor\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tRoutingRules: frontdoor.FrontdoorRoutingRuleArray{\n\t\t\t\t\u0026frontdoor.FrontdoorRoutingRuleArgs{\n\t\t\t\t\tName: pulumi.String(\"exampleRoutingRule1\"),\n\t\t\t\t\tAcceptedProtocols: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"Http\"),\n\t\t\t\t\t\tpulumi.String(\"Https\"),\n\t\t\t\t\t},\n\t\t\t\t\tPatternsToMatches: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"/*\"),\n\t\t\t\t\t},\n\t\t\t\t\tFrontendEndpoints: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"exampleFrontendEndpoint1\"),\n\t\t\t\t\t},\n\t\t\t\t\tForwardingConfiguration: \u0026frontdoor.FrontdoorRoutingRuleForwardingConfigurationArgs{\n\t\t\t\t\t\tForwardingProtocol: pulumi.String(\"MatchRequest\"),\n\t\t\t\t\t\tBackendPoolName: pulumi.String(\"exampleBackendBing\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tBackendPoolLoadBalancings: frontdoor.FrontdoorBackendPoolLoadBalancingArray{\n\t\t\t\t\u0026frontdoor.FrontdoorBackendPoolLoadBalancingArgs{\n\t\t\t\t\tName: pulumi.String(\"exampleLoadBalancingSettings1\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tBackendPoolHealthProbes: frontdoor.FrontdoorBackendPoolHealthProbeArray{\n\t\t\t\t\u0026frontdoor.FrontdoorBackendPoolHealthProbeArgs{\n\t\t\t\t\tName: pulumi.String(\"exampleHealthProbeSetting1\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tBackendPools: frontdoor.FrontdoorBackendPoolArray{\n\t\t\t\t\u0026frontdoor.FrontdoorBackendPoolArgs{\n\t\t\t\t\tName: pulumi.String(\"exampleBackendBing\"),\n\t\t\t\t\tBackends: frontdoor.FrontdoorBackendPoolBackendArray{\n\t\t\t\t\t\t\u0026frontdoor.FrontdoorBackendPoolBackendArgs{\n\t\t\t\t\t\t\tHostHeader: pulumi.String(\"www.bing.com\"),\n\t\t\t\t\t\t\tAddress: pulumi.String(\"www.bing.com\"),\n\t\t\t\t\t\t\tHttpPort: pulumi.Int(80),\n\t\t\t\t\t\t\tHttpsPort: pulumi.Int(443),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tLoadBalancingName: pulumi.String(\"exampleLoadBalancingSettings1\"),\n\t\t\t\t\tHealthProbeName: pulumi.String(\"exampleHealthProbeSetting1\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tFrontendEndpoints: frontdoor.FrontdoorFrontendEndpointArray{\n\t\t\t\t\u0026frontdoor.FrontdoorFrontendEndpointArgs{\n\t\t\t\t\tName: pulumi.String(\"exampleFrontendEndpoint1\"),\n\t\t\t\t\tHostName: pulumi.String(\"example-FrontDoor.azurefd.net\"),\n\t\t\t\t},\n\t\t\t\t\u0026frontdoor.FrontdoorFrontendEndpointArgs{\n\t\t\t\t\tName: pulumi.String(\"exampleFrontendEndpoint2\"),\n\t\t\t\t\tHostName: pulumi.String(\"examplefd1.examplefd.net\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = frontdoor.NewCustomHttpsConfiguration(ctx, \"example_custom_https_0\", \u0026frontdoor.CustomHttpsConfigurationArgs{\n\t\t\tFrontendEndpointId: exampleFrontdoor.FrontendEndpointsMap.ApplyT(func(frontendEndpointsMap map[string]string) (string, error) {\n\t\t\t\treturn frontendEndpointsMap.ExampleFrontendEndpoint1, nil\n\t\t\t}).(pulumi.StringOutput),\n\t\t\tCustomHttpsProvisioningEnabled: pulumi.Bool(false),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = frontdoor.NewCustomHttpsConfiguration(ctx, \"example_custom_https_1\", \u0026frontdoor.CustomHttpsConfigurationArgs{\n\t\t\tFrontendEndpointId: exampleFrontdoor.FrontendEndpointsMap.ApplyT(func(frontendEndpointsMap map[string]string) (string, error) {\n\t\t\t\treturn frontendEndpointsMap.ExampleFrontendEndpoint2, nil\n\t\t\t}).(pulumi.StringOutput),\n\t\t\tCustomHttpsProvisioningEnabled: pulumi.Bool(true),\n\t\t\tCustomHttpsConfiguration: \u0026frontdoor.CustomHttpsConfigurationCustomHttpsConfigurationArgs{\n\t\t\t\tCertificateSource: pulumi.String(\"AzureKeyVault\"),\n\t\t\t\tAzureKeyVaultCertificateSecretName: pulumi.String(\"examplefd1\"),\n\t\t\t\tAzureKeyVaultCertificateVaultId: pulumi.String(vault.Id),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azure.core.ResourceGroup;\nimport com.pulumi.azure.core.ResourceGroupArgs;\nimport com.pulumi.azure.keyvault.KeyvaultFunctions;\nimport com.pulumi.azure.keyvault.inputs.GetKeyVaultArgs;\nimport com.pulumi.azure.frontdoor.Frontdoor;\nimport com.pulumi.azure.frontdoor.FrontdoorArgs;\nimport com.pulumi.azure.frontdoor.inputs.FrontdoorRoutingRuleArgs;\nimport com.pulumi.azure.frontdoor.inputs.FrontdoorRoutingRuleForwardingConfigurationArgs;\nimport com.pulumi.azure.frontdoor.inputs.FrontdoorBackendPoolLoadBalancingArgs;\nimport com.pulumi.azure.frontdoor.inputs.FrontdoorBackendPoolHealthProbeArgs;\nimport com.pulumi.azure.frontdoor.inputs.FrontdoorBackendPoolArgs;\nimport com.pulumi.azure.frontdoor.inputs.FrontdoorFrontendEndpointArgs;\nimport com.pulumi.azure.frontdoor.CustomHttpsConfiguration;\nimport com.pulumi.azure.frontdoor.CustomHttpsConfigurationArgs;\nimport com.pulumi.azure.frontdoor.inputs.CustomHttpsConfigurationCustomHttpsConfigurationArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ResourceGroup(\"example\", ResourceGroupArgs.builder()\n .name(\"FrontDoorExampleResourceGroup\")\n .location(\"West Europe\")\n .build());\n\n final var vault = KeyvaultFunctions.getKeyVault(GetKeyVaultArgs.builder()\n .name(\"example-vault\")\n .resourceGroupName(\"example-vault-rg\")\n .build());\n\n var exampleFrontdoor = new Frontdoor(\"exampleFrontdoor\", FrontdoorArgs.builder()\n .name(\"example-FrontDoor\")\n .resourceGroupName(example.name())\n .routingRules(FrontdoorRoutingRuleArgs.builder()\n .name(\"exampleRoutingRule1\")\n .acceptedProtocols( \n \"Http\",\n \"Https\")\n .patternsToMatches(\"/*\")\n .frontendEndpoints(\"exampleFrontendEndpoint1\")\n .forwardingConfiguration(FrontdoorRoutingRuleForwardingConfigurationArgs.builder()\n .forwardingProtocol(\"MatchRequest\")\n .backendPoolName(\"exampleBackendBing\")\n .build())\n .build())\n .backendPoolLoadBalancings(FrontdoorBackendPoolLoadBalancingArgs.builder()\n .name(\"exampleLoadBalancingSettings1\")\n .build())\n .backendPoolHealthProbes(FrontdoorBackendPoolHealthProbeArgs.builder()\n .name(\"exampleHealthProbeSetting1\")\n .build())\n .backendPools(FrontdoorBackendPoolArgs.builder()\n .name(\"exampleBackendBing\")\n .backends(FrontdoorBackendPoolBackendArgs.builder()\n .hostHeader(\"www.bing.com\")\n .address(\"www.bing.com\")\n .httpPort(80)\n .httpsPort(443)\n .build())\n .loadBalancingName(\"exampleLoadBalancingSettings1\")\n .healthProbeName(\"exampleHealthProbeSetting1\")\n .build())\n .frontendEndpoints( \n FrontdoorFrontendEndpointArgs.builder()\n .name(\"exampleFrontendEndpoint1\")\n .hostName(\"example-FrontDoor.azurefd.net\")\n .build(),\n FrontdoorFrontendEndpointArgs.builder()\n .name(\"exampleFrontendEndpoint2\")\n .hostName(\"examplefd1.examplefd.net\")\n .build())\n .build());\n\n var exampleCustomHttps0 = new CustomHttpsConfiguration(\"exampleCustomHttps0\", CustomHttpsConfigurationArgs.builder()\n .frontendEndpointId(exampleFrontdoor.frontendEndpointsMap().applyValue(frontendEndpointsMap -\u003e frontendEndpointsMap.exampleFrontendEndpoint1()))\n .customHttpsProvisioningEnabled(false)\n .build());\n\n var exampleCustomHttps1 = new CustomHttpsConfiguration(\"exampleCustomHttps1\", CustomHttpsConfigurationArgs.builder()\n .frontendEndpointId(exampleFrontdoor.frontendEndpointsMap().applyValue(frontendEndpointsMap -\u003e frontendEndpointsMap.exampleFrontendEndpoint2()))\n .customHttpsProvisioningEnabled(true)\n .customHttpsConfiguration(CustomHttpsConfigurationCustomHttpsConfigurationArgs.builder()\n .certificateSource(\"AzureKeyVault\")\n .azureKeyVaultCertificateSecretName(\"examplefd1\")\n .azureKeyVaultCertificateVaultId(vault.applyValue(getKeyVaultResult -\u003e getKeyVaultResult.id()))\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: azure:core:ResourceGroup\n properties:\n name: FrontDoorExampleResourceGroup\n location: West Europe\n exampleFrontdoor:\n type: azure:frontdoor:Frontdoor\n name: example\n properties:\n name: example-FrontDoor\n resourceGroupName: ${example.name}\n routingRules:\n - name: exampleRoutingRule1\n acceptedProtocols:\n - Http\n - Https\n patternsToMatches:\n - /*\n frontendEndpoints:\n - exampleFrontendEndpoint1\n forwardingConfiguration:\n forwardingProtocol: MatchRequest\n backendPoolName: exampleBackendBing\n backendPoolLoadBalancings:\n - name: exampleLoadBalancingSettings1\n backendPoolHealthProbes:\n - name: exampleHealthProbeSetting1\n backendPools:\n - name: exampleBackendBing\n backends:\n - hostHeader: www.bing.com\n address: www.bing.com\n httpPort: 80\n httpsPort: 443\n loadBalancingName: exampleLoadBalancingSettings1\n healthProbeName: exampleHealthProbeSetting1\n frontendEndpoints:\n - name: exampleFrontendEndpoint1\n hostName: example-FrontDoor.azurefd.net\n - name: exampleFrontendEndpoint2\n hostName: examplefd1.examplefd.net\n exampleCustomHttps0:\n type: azure:frontdoor:CustomHttpsConfiguration\n name: example_custom_https_0\n properties:\n frontendEndpointId: ${exampleFrontdoor.frontendEndpointsMap.exampleFrontendEndpoint1}\n customHttpsProvisioningEnabled: false\n exampleCustomHttps1:\n type: azure:frontdoor:CustomHttpsConfiguration\n name: example_custom_https_1\n properties:\n frontendEndpointId: ${exampleFrontdoor.frontendEndpointsMap.exampleFrontendEndpoint2}\n customHttpsProvisioningEnabled: true\n customHttpsConfiguration:\n certificateSource: AzureKeyVault\n azureKeyVaultCertificateSecretName: examplefd1\n azureKeyVaultCertificateVaultId: ${vault.id}\nvariables:\n vault:\n fn::invoke:\n Function: azure:keyvault:getKeyVault\n Arguments:\n name: example-vault\n resourceGroupName: example-vault-rg\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nFront Door Custom HTTPS Configurations can be imported using the `resource id` of the Front Door Custom HTTPS Configuration, e.g.\n\n```sh\n$ pulumi import azure:frontdoor/customHttpsConfiguration:CustomHttpsConfiguration example_custom_https_1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Network/frontDoors/frontdoor1/customHttpsConfiguration/endpoint1\n```\n\n", "properties": { "customHttpsConfiguration": { "$ref": "#/types/azure:frontdoor/CustomHttpsConfigurationCustomHttpsConfiguration:CustomHttpsConfigurationCustomHttpsConfiguration", @@ -192626,7 +192626,7 @@ } }, "azure:frontdoor/firewallPolicy:FirewallPolicy": { - "description": "!\u003e **IMPORTANT** This deploys an Azure Front Door (classic) resource which has been deprecated and will receive security updates only. Please migrate your existing Azure Front Door (classic) deployments to the new Azure Front Door (standard/premium) resources. For your convenience, the service team has exposed a `Front Door Classic` to `Front Door Standard/Premium` [migration tool](https://learn.microsoft.com/azure/frontdoor/tier-migration) to allow you to migrate your existing `Front Door Classic` instances to the new `Front Door Standard/Premium` product tiers.\n\nManages an Azure Front Door (classic) Web Application Firewall Policy instance.\n\n!\u003e **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue as the necessary changes are identified.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\n\nconst example = new azure.core.ResourceGroup(\"example\", {\n name: \"example-rg\",\n location: \"West Europe\",\n});\nconst exampleFirewallPolicy = new azure.frontdoor.FirewallPolicy(\"example\", {\n name: \"examplefdwafpolicy\",\n resourceGroupName: example.name,\n enabled: true,\n mode: \"Prevention\",\n redirectUrl: \"https://www.contoso.com\",\n customBlockResponseStatusCode: 403,\n customBlockResponseBody: \"PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==\",\n customRules: [\n {\n name: \"Rule1\",\n enabled: true,\n priority: 1,\n rateLimitDurationInMinutes: 1,\n rateLimitThreshold: 10,\n type: \"MatchRule\",\n action: \"Block\",\n matchConditions: [{\n matchVariable: \"RemoteAddr\",\n operator: \"IPMatch\",\n negationCondition: false,\n matchValues: [\n \"192.168.1.0/24\",\n \"10.0.0.0/24\",\n ],\n }],\n },\n {\n name: \"Rule2\",\n enabled: true,\n priority: 2,\n rateLimitDurationInMinutes: 1,\n rateLimitThreshold: 10,\n type: \"MatchRule\",\n action: \"Block\",\n matchConditions: [\n {\n matchVariable: \"RemoteAddr\",\n operator: \"IPMatch\",\n negationCondition: false,\n matchValues: [\"192.168.1.0/24\"],\n },\n {\n matchVariable: \"RequestHeader\",\n selector: \"UserAgent\",\n operator: \"Contains\",\n negationCondition: false,\n matchValues: [\"windows\"],\n transforms: [\n \"Lowercase\",\n \"Trim\",\n ],\n },\n ],\n },\n ],\n managedRules: [\n {\n type: \"DefaultRuleSet\",\n version: \"1.0\",\n exclusions: [{\n matchVariable: \"QueryStringArgNames\",\n operator: \"Equals\",\n selector: \"not_suspicious\",\n }],\n overrides: [\n {\n ruleGroupName: \"PHP\",\n rules: [{\n ruleId: \"933100\",\n enabled: false,\n action: \"Block\",\n }],\n },\n {\n ruleGroupName: \"SQLI\",\n exclusions: [{\n matchVariable: \"QueryStringArgNames\",\n operator: \"Equals\",\n selector: \"really_not_suspicious\",\n }],\n rules: [{\n ruleId: \"942200\",\n action: \"Block\",\n exclusions: [{\n matchVariable: \"QueryStringArgNames\",\n operator: \"Equals\",\n selector: \"innocent\",\n }],\n }],\n },\n ],\n },\n {\n type: \"Microsoft_BotManagerRuleSet\",\n version: \"1.0\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\n\nexample = azure.core.ResourceGroup(\"example\",\n name=\"example-rg\",\n location=\"West Europe\")\nexample_firewall_policy = azure.frontdoor.FirewallPolicy(\"example\",\n name=\"examplefdwafpolicy\",\n resource_group_name=example.name,\n enabled=True,\n mode=\"Prevention\",\n redirect_url=\"https://www.contoso.com\",\n custom_block_response_status_code=403,\n custom_block_response_body=\"PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==\",\n custom_rules=[\n {\n \"name\": \"Rule1\",\n \"enabled\": True,\n \"priority\": 1,\n \"rate_limit_duration_in_minutes\": 1,\n \"rate_limit_threshold\": 10,\n \"type\": \"MatchRule\",\n \"action\": \"Block\",\n \"match_conditions\": [{\n \"match_variable\": \"RemoteAddr\",\n \"operator\": \"IPMatch\",\n \"negation_condition\": False,\n \"match_values\": [\n \"192.168.1.0/24\",\n \"10.0.0.0/24\",\n ],\n }],\n },\n {\n \"name\": \"Rule2\",\n \"enabled\": True,\n \"priority\": 2,\n \"rate_limit_duration_in_minutes\": 1,\n \"rate_limit_threshold\": 10,\n \"type\": \"MatchRule\",\n \"action\": \"Block\",\n \"match_conditions\": [\n {\n \"match_variable\": \"RemoteAddr\",\n \"operator\": \"IPMatch\",\n \"negation_condition\": False,\n \"match_values\": [\"192.168.1.0/24\"],\n },\n {\n \"match_variable\": \"RequestHeader\",\n \"selector\": \"UserAgent\",\n \"operator\": \"Contains\",\n \"negation_condition\": False,\n \"match_values\": [\"windows\"],\n \"transforms\": [\n \"Lowercase\",\n \"Trim\",\n ],\n },\n ],\n },\n ],\n managed_rules=[\n {\n \"type\": \"DefaultRuleSet\",\n \"version\": \"1.0\",\n \"exclusions\": [{\n \"match_variable\": \"QueryStringArgNames\",\n \"operator\": \"Equals\",\n \"selector\": \"not_suspicious\",\n }],\n \"overrides\": [\n {\n \"rule_group_name\": \"PHP\",\n \"rules\": [{\n \"rule_id\": \"933100\",\n \"enabled\": False,\n \"action\": \"Block\",\n }],\n },\n {\n \"rule_group_name\": \"SQLI\",\n \"exclusions\": [{\n \"match_variable\": \"QueryStringArgNames\",\n \"operator\": \"Equals\",\n \"selector\": \"really_not_suspicious\",\n }],\n \"rules\": [{\n \"rule_id\": \"942200\",\n \"action\": \"Block\",\n \"exclusions\": [{\n \"match_variable\": \"QueryStringArgNames\",\n \"operator\": \"Equals\",\n \"selector\": \"innocent\",\n }],\n }],\n },\n ],\n },\n {\n \"type\": \"Microsoft_BotManagerRuleSet\",\n \"version\": \"1.0\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Azure.Core.ResourceGroup(\"example\", new()\n {\n Name = \"example-rg\",\n Location = \"West Europe\",\n });\n\n var exampleFirewallPolicy = new Azure.FrontDoor.FirewallPolicy(\"example\", new()\n {\n Name = \"examplefdwafpolicy\",\n ResourceGroupName = example.Name,\n Enabled = true,\n Mode = \"Prevention\",\n RedirectUrl = \"https://www.contoso.com\",\n CustomBlockResponseStatusCode = 403,\n CustomBlockResponseBody = \"PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==\",\n CustomRules = new[]\n {\n new Azure.FrontDoor.Inputs.FirewallPolicyCustomRuleArgs\n {\n Name = \"Rule1\",\n Enabled = true,\n Priority = 1,\n RateLimitDurationInMinutes = 1,\n RateLimitThreshold = 10,\n Type = \"MatchRule\",\n Action = \"Block\",\n MatchConditions = new[]\n {\n new Azure.FrontDoor.Inputs.FirewallPolicyCustomRuleMatchConditionArgs\n {\n MatchVariable = \"RemoteAddr\",\n Operator = \"IPMatch\",\n NegationCondition = false,\n MatchValues = new[]\n {\n \"192.168.1.0/24\",\n \"10.0.0.0/24\",\n },\n },\n },\n },\n new Azure.FrontDoor.Inputs.FirewallPolicyCustomRuleArgs\n {\n Name = \"Rule2\",\n Enabled = true,\n Priority = 2,\n RateLimitDurationInMinutes = 1,\n RateLimitThreshold = 10,\n Type = \"MatchRule\",\n Action = \"Block\",\n MatchConditions = new[]\n {\n new Azure.FrontDoor.Inputs.FirewallPolicyCustomRuleMatchConditionArgs\n {\n MatchVariable = \"RemoteAddr\",\n Operator = \"IPMatch\",\n NegationCondition = false,\n MatchValues = new[]\n {\n \"192.168.1.0/24\",\n },\n },\n new Azure.FrontDoor.Inputs.FirewallPolicyCustomRuleMatchConditionArgs\n {\n MatchVariable = \"RequestHeader\",\n Selector = \"UserAgent\",\n Operator = \"Contains\",\n NegationCondition = false,\n MatchValues = new[]\n {\n \"windows\",\n },\n Transforms = new[]\n {\n \"Lowercase\",\n \"Trim\",\n },\n },\n },\n },\n },\n ManagedRules = new[]\n {\n new Azure.FrontDoor.Inputs.FirewallPolicyManagedRuleArgs\n {\n Type = \"DefaultRuleSet\",\n Version = \"1.0\",\n Exclusions = new[]\n {\n new Azure.FrontDoor.Inputs.FirewallPolicyManagedRuleExclusionArgs\n {\n MatchVariable = \"QueryStringArgNames\",\n Operator = \"Equals\",\n Selector = \"not_suspicious\",\n },\n },\n Overrides = new[]\n {\n new Azure.FrontDoor.Inputs.FirewallPolicyManagedRuleOverrideArgs\n {\n RuleGroupName = \"PHP\",\n Rules = new[]\n {\n new Azure.FrontDoor.Inputs.FirewallPolicyManagedRuleOverrideRuleArgs\n {\n RuleId = \"933100\",\n Enabled = false,\n Action = \"Block\",\n },\n },\n },\n new Azure.FrontDoor.Inputs.FirewallPolicyManagedRuleOverrideArgs\n {\n RuleGroupName = \"SQLI\",\n Exclusions = new[]\n {\n new Azure.FrontDoor.Inputs.FirewallPolicyManagedRuleOverrideExclusionArgs\n {\n MatchVariable = \"QueryStringArgNames\",\n Operator = \"Equals\",\n Selector = \"really_not_suspicious\",\n },\n },\n Rules = new[]\n {\n new Azure.FrontDoor.Inputs.FirewallPolicyManagedRuleOverrideRuleArgs\n {\n RuleId = \"942200\",\n Action = \"Block\",\n Exclusions = new[]\n {\n new Azure.FrontDoor.Inputs.FirewallPolicyManagedRuleOverrideRuleExclusionArgs\n {\n MatchVariable = \"QueryStringArgNames\",\n Operator = \"Equals\",\n Selector = \"innocent\",\n },\n },\n },\n },\n },\n },\n },\n new Azure.FrontDoor.Inputs.FirewallPolicyManagedRuleArgs\n {\n Type = \"Microsoft_BotManagerRuleSet\",\n Version = \"1.0\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/frontdoor\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := core.NewResourceGroup(ctx, \"example\", \u0026core.ResourceGroupArgs{\n\t\t\tName: pulumi.String(\"example-rg\"),\n\t\t\tLocation: pulumi.String(\"West Europe\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = frontdoor.NewFirewallPolicy(ctx, \"example\", \u0026frontdoor.FirewallPolicyArgs{\n\t\t\tName: pulumi.String(\"examplefdwafpolicy\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tEnabled: pulumi.Bool(true),\n\t\t\tMode: pulumi.String(\"Prevention\"),\n\t\t\tRedirectUrl: pulumi.String(\"https://www.contoso.com\"),\n\t\t\tCustomBlockResponseStatusCode: pulumi.Int(403),\n\t\t\tCustomBlockResponseBody: pulumi.String(\"PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==\"),\n\t\t\tCustomRules: frontdoor.FirewallPolicyCustomRuleArray{\n\t\t\t\t\u0026frontdoor.FirewallPolicyCustomRuleArgs{\n\t\t\t\t\tName: pulumi.String(\"Rule1\"),\n\t\t\t\t\tEnabled: pulumi.Bool(true),\n\t\t\t\t\tPriority: pulumi.Int(1),\n\t\t\t\t\tRateLimitDurationInMinutes: pulumi.Int(1),\n\t\t\t\t\tRateLimitThreshold: pulumi.Int(10),\n\t\t\t\t\tType: pulumi.String(\"MatchRule\"),\n\t\t\t\t\tAction: pulumi.String(\"Block\"),\n\t\t\t\t\tMatchConditions: frontdoor.FirewallPolicyCustomRuleMatchConditionArray{\n\t\t\t\t\t\t\u0026frontdoor.FirewallPolicyCustomRuleMatchConditionArgs{\n\t\t\t\t\t\t\tMatchVariable: pulumi.String(\"RemoteAddr\"),\n\t\t\t\t\t\t\tOperator: pulumi.String(\"IPMatch\"),\n\t\t\t\t\t\t\tNegationCondition: pulumi.Bool(false),\n\t\t\t\t\t\t\tMatchValues: pulumi.StringArray{\n\t\t\t\t\t\t\t\tpulumi.String(\"192.168.1.0/24\"),\n\t\t\t\t\t\t\t\tpulumi.String(\"10.0.0.0/24\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026frontdoor.FirewallPolicyCustomRuleArgs{\n\t\t\t\t\tName: pulumi.String(\"Rule2\"),\n\t\t\t\t\tEnabled: pulumi.Bool(true),\n\t\t\t\t\tPriority: pulumi.Int(2),\n\t\t\t\t\tRateLimitDurationInMinutes: pulumi.Int(1),\n\t\t\t\t\tRateLimitThreshold: pulumi.Int(10),\n\t\t\t\t\tType: pulumi.String(\"MatchRule\"),\n\t\t\t\t\tAction: pulumi.String(\"Block\"),\n\t\t\t\t\tMatchConditions: frontdoor.FirewallPolicyCustomRuleMatchConditionArray{\n\t\t\t\t\t\t\u0026frontdoor.FirewallPolicyCustomRuleMatchConditionArgs{\n\t\t\t\t\t\t\tMatchVariable: pulumi.String(\"RemoteAddr\"),\n\t\t\t\t\t\t\tOperator: pulumi.String(\"IPMatch\"),\n\t\t\t\t\t\t\tNegationCondition: pulumi.Bool(false),\n\t\t\t\t\t\t\tMatchValues: pulumi.StringArray{\n\t\t\t\t\t\t\t\tpulumi.String(\"192.168.1.0/24\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026frontdoor.FirewallPolicyCustomRuleMatchConditionArgs{\n\t\t\t\t\t\t\tMatchVariable: pulumi.String(\"RequestHeader\"),\n\t\t\t\t\t\t\tSelector: pulumi.String(\"UserAgent\"),\n\t\t\t\t\t\t\tOperator: pulumi.String(\"Contains\"),\n\t\t\t\t\t\t\tNegationCondition: pulumi.Bool(false),\n\t\t\t\t\t\t\tMatchValues: pulumi.StringArray{\n\t\t\t\t\t\t\t\tpulumi.String(\"windows\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tTransforms: pulumi.StringArray{\n\t\t\t\t\t\t\t\tpulumi.String(\"Lowercase\"),\n\t\t\t\t\t\t\t\tpulumi.String(\"Trim\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tManagedRules: frontdoor.FirewallPolicyManagedRuleArray{\n\t\t\t\t\u0026frontdoor.FirewallPolicyManagedRuleArgs{\n\t\t\t\t\tType: pulumi.String(\"DefaultRuleSet\"),\n\t\t\t\t\tVersion: pulumi.String(\"1.0\"),\n\t\t\t\t\tExclusions: frontdoor.FirewallPolicyManagedRuleExclusionArray{\n\t\t\t\t\t\t\u0026frontdoor.FirewallPolicyManagedRuleExclusionArgs{\n\t\t\t\t\t\t\tMatchVariable: pulumi.String(\"QueryStringArgNames\"),\n\t\t\t\t\t\t\tOperator: pulumi.String(\"Equals\"),\n\t\t\t\t\t\t\tSelector: pulumi.String(\"not_suspicious\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tOverrides: frontdoor.FirewallPolicyManagedRuleOverrideArray{\n\t\t\t\t\t\t\u0026frontdoor.FirewallPolicyManagedRuleOverrideArgs{\n\t\t\t\t\t\t\tRuleGroupName: pulumi.String(\"PHP\"),\n\t\t\t\t\t\t\tRules: frontdoor.FirewallPolicyManagedRuleOverrideRuleArray{\n\t\t\t\t\t\t\t\t\u0026frontdoor.FirewallPolicyManagedRuleOverrideRuleArgs{\n\t\t\t\t\t\t\t\t\tRuleId: pulumi.String(\"933100\"),\n\t\t\t\t\t\t\t\t\tEnabled: pulumi.Bool(false),\n\t\t\t\t\t\t\t\t\tAction: pulumi.String(\"Block\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026frontdoor.FirewallPolicyManagedRuleOverrideArgs{\n\t\t\t\t\t\t\tRuleGroupName: pulumi.String(\"SQLI\"),\n\t\t\t\t\t\t\tExclusions: frontdoor.FirewallPolicyManagedRuleOverrideExclusionArray{\n\t\t\t\t\t\t\t\t\u0026frontdoor.FirewallPolicyManagedRuleOverrideExclusionArgs{\n\t\t\t\t\t\t\t\t\tMatchVariable: pulumi.String(\"QueryStringArgNames\"),\n\t\t\t\t\t\t\t\t\tOperator: pulumi.String(\"Equals\"),\n\t\t\t\t\t\t\t\t\tSelector: pulumi.String(\"really_not_suspicious\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tRules: frontdoor.FirewallPolicyManagedRuleOverrideRuleArray{\n\t\t\t\t\t\t\t\t\u0026frontdoor.FirewallPolicyManagedRuleOverrideRuleArgs{\n\t\t\t\t\t\t\t\t\tRuleId: pulumi.String(\"942200\"),\n\t\t\t\t\t\t\t\t\tAction: pulumi.String(\"Block\"),\n\t\t\t\t\t\t\t\t\tExclusions: frontdoor.FirewallPolicyManagedRuleOverrideRuleExclusionArray{\n\t\t\t\t\t\t\t\t\t\t\u0026frontdoor.FirewallPolicyManagedRuleOverrideRuleExclusionArgs{\n\t\t\t\t\t\t\t\t\t\t\tMatchVariable: pulumi.String(\"QueryStringArgNames\"),\n\t\t\t\t\t\t\t\t\t\t\tOperator: pulumi.String(\"Equals\"),\n\t\t\t\t\t\t\t\t\t\t\tSelector: pulumi.String(\"innocent\"),\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026frontdoor.FirewallPolicyManagedRuleArgs{\n\t\t\t\t\tType: pulumi.String(\"Microsoft_BotManagerRuleSet\"),\n\t\t\t\t\tVersion: pulumi.String(\"1.0\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azure.core.ResourceGroup;\nimport com.pulumi.azure.core.ResourceGroupArgs;\nimport com.pulumi.azure.frontdoor.FirewallPolicy;\nimport com.pulumi.azure.frontdoor.FirewallPolicyArgs;\nimport com.pulumi.azure.frontdoor.inputs.FirewallPolicyCustomRuleArgs;\nimport com.pulumi.azure.frontdoor.inputs.FirewallPolicyManagedRuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ResourceGroup(\"example\", ResourceGroupArgs.builder()\n .name(\"example-rg\")\n .location(\"West Europe\")\n .build());\n\n var exampleFirewallPolicy = new FirewallPolicy(\"exampleFirewallPolicy\", FirewallPolicyArgs.builder()\n .name(\"examplefdwafpolicy\")\n .resourceGroupName(example.name())\n .enabled(true)\n .mode(\"Prevention\")\n .redirectUrl(\"https://www.contoso.com\")\n .customBlockResponseStatusCode(403)\n .customBlockResponseBody(\"PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==\")\n .customRules( \n FirewallPolicyCustomRuleArgs.builder()\n .name(\"Rule1\")\n .enabled(true)\n .priority(1)\n .rateLimitDurationInMinutes(1)\n .rateLimitThreshold(10)\n .type(\"MatchRule\")\n .action(\"Block\")\n .matchConditions(FirewallPolicyCustomRuleMatchConditionArgs.builder()\n .matchVariable(\"RemoteAddr\")\n .operator(\"IPMatch\")\n .negationCondition(false)\n .matchValues( \n \"192.168.1.0/24\",\n \"10.0.0.0/24\")\n .build())\n .build(),\n FirewallPolicyCustomRuleArgs.builder()\n .name(\"Rule2\")\n .enabled(true)\n .priority(2)\n .rateLimitDurationInMinutes(1)\n .rateLimitThreshold(10)\n .type(\"MatchRule\")\n .action(\"Block\")\n .matchConditions( \n FirewallPolicyCustomRuleMatchConditionArgs.builder()\n .matchVariable(\"RemoteAddr\")\n .operator(\"IPMatch\")\n .negationCondition(false)\n .matchValues(\"192.168.1.0/24\")\n .build(),\n FirewallPolicyCustomRuleMatchConditionArgs.builder()\n .matchVariable(\"RequestHeader\")\n .selector(\"UserAgent\")\n .operator(\"Contains\")\n .negationCondition(false)\n .matchValues(\"windows\")\n .transforms( \n \"Lowercase\",\n \"Trim\")\n .build())\n .build())\n .managedRules( \n FirewallPolicyManagedRuleArgs.builder()\n .type(\"DefaultRuleSet\")\n .version(\"1.0\")\n .exclusions(FirewallPolicyManagedRuleExclusionArgs.builder()\n .matchVariable(\"QueryStringArgNames\")\n .operator(\"Equals\")\n .selector(\"not_suspicious\")\n .build())\n .overrides( \n FirewallPolicyManagedRuleOverrideArgs.builder()\n .ruleGroupName(\"PHP\")\n .rules(FirewallPolicyManagedRuleOverrideRuleArgs.builder()\n .ruleId(\"933100\")\n .enabled(false)\n .action(\"Block\")\n .build())\n .build(),\n FirewallPolicyManagedRuleOverrideArgs.builder()\n .ruleGroupName(\"SQLI\")\n .exclusions(FirewallPolicyManagedRuleOverrideExclusionArgs.builder()\n .matchVariable(\"QueryStringArgNames\")\n .operator(\"Equals\")\n .selector(\"really_not_suspicious\")\n .build())\n .rules(FirewallPolicyManagedRuleOverrideRuleArgs.builder()\n .ruleId(\"942200\")\n .action(\"Block\")\n .exclusions(FirewallPolicyManagedRuleOverrideRuleExclusionArgs.builder()\n .matchVariable(\"QueryStringArgNames\")\n .operator(\"Equals\")\n .selector(\"innocent\")\n .build())\n .build())\n .build())\n .build(),\n FirewallPolicyManagedRuleArgs.builder()\n .type(\"Microsoft_BotManagerRuleSet\")\n .version(\"1.0\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: azure:core:ResourceGroup\n properties:\n name: example-rg\n location: West Europe\n exampleFirewallPolicy:\n type: azure:frontdoor:FirewallPolicy\n name: example\n properties:\n name: examplefdwafpolicy\n resourceGroupName: ${example.name}\n enabled: true\n mode: Prevention\n redirectUrl: https://www.contoso.com\n customBlockResponseStatusCode: 403\n customBlockResponseBody: PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==\n customRules:\n - name: Rule1\n enabled: true\n priority: 1\n rateLimitDurationInMinutes: 1\n rateLimitThreshold: 10\n type: MatchRule\n action: Block\n matchConditions:\n - matchVariable: RemoteAddr\n operator: IPMatch\n negationCondition: false\n matchValues:\n - 192.168.1.0/24\n - 10.0.0.0/24\n - name: Rule2\n enabled: true\n priority: 2\n rateLimitDurationInMinutes: 1\n rateLimitThreshold: 10\n type: MatchRule\n action: Block\n matchConditions:\n - matchVariable: RemoteAddr\n operator: IPMatch\n negationCondition: false\n matchValues:\n - 192.168.1.0/24\n - matchVariable: RequestHeader\n selector: UserAgent\n operator: Contains\n negationCondition: false\n matchValues:\n - windows\n transforms:\n - Lowercase\n - Trim\n managedRules:\n - type: DefaultRuleSet\n version: '1.0'\n exclusions:\n - matchVariable: QueryStringArgNames\n operator: Equals\n selector: not_suspicious\n overrides:\n - ruleGroupName: PHP\n rules:\n - ruleId: '933100'\n enabled: false\n action: Block\n - ruleGroupName: SQLI\n exclusions:\n - matchVariable: QueryStringArgNames\n operator: Equals\n selector: really_not_suspicious\n rules:\n - ruleId: '942200'\n action: Block\n exclusions:\n - matchVariable: QueryStringArgNames\n operator: Equals\n selector: innocent\n - type: Microsoft_BotManagerRuleSet\n version: '1.0'\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nFrontDoor Web Application Firewall Policy can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:frontdoor/firewallPolicy:FirewallPolicy example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example-rg/providers/Microsoft.Network/frontDoorWebApplicationFirewallPolicies/examplefdwafpolicy\n```\n\n", + "description": "!\u003e **IMPORTANT** This deploys an Azure Front Door (classic) resource which has been deprecated and will receive security updates only. Please migrate your existing Azure Front Door (classic) deployments to the new Azure Front Door (standard/premium) resources. For your convenience, the service team has exposed a `Front Door Classic` to `Front Door Standard/Premium` [migration tool](https://learn.microsoft.com/azure/frontdoor/tier-migration) to allow you to migrate your existing `Front Door Classic` instances to the new `Front Door Standard/Premium` product tiers.\n\nManages an Azure Front Door (classic) Web Application Firewall Policy instance.\n\n!\u003e **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue - however unfortunately this may necessitate a breaking change to the CDN and Front Door resources, more information will be posted in the GitHub issue as the necessary changes are identified.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\n\nconst example = new azure.core.ResourceGroup(\"example\", {\n name: \"example-rg\",\n location: \"West Europe\",\n});\nconst exampleFirewallPolicy = new azure.frontdoor.FirewallPolicy(\"example\", {\n name: \"examplefdwafpolicy\",\n resourceGroupName: example.name,\n enabled: true,\n mode: \"Prevention\",\n redirectUrl: \"https://www.contoso.com\",\n customBlockResponseStatusCode: 403,\n customBlockResponseBody: \"PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==\",\n customRules: [\n {\n name: \"Rule1\",\n enabled: true,\n priority: 1,\n rateLimitDurationInMinutes: 1,\n rateLimitThreshold: 10,\n type: \"MatchRule\",\n action: \"Block\",\n matchConditions: [{\n matchVariable: \"RemoteAddr\",\n operator: \"IPMatch\",\n negationCondition: false,\n matchValues: [\n \"192.168.1.0/24\",\n \"10.0.0.0/24\",\n ],\n }],\n },\n {\n name: \"Rule2\",\n enabled: true,\n priority: 2,\n rateLimitDurationInMinutes: 1,\n rateLimitThreshold: 10,\n type: \"MatchRule\",\n action: \"Block\",\n matchConditions: [\n {\n matchVariable: \"RemoteAddr\",\n operator: \"IPMatch\",\n negationCondition: false,\n matchValues: [\"192.168.1.0/24\"],\n },\n {\n matchVariable: \"RequestHeader\",\n selector: \"UserAgent\",\n operator: \"Contains\",\n negationCondition: false,\n matchValues: [\"windows\"],\n transforms: [\n \"Lowercase\",\n \"Trim\",\n ],\n },\n ],\n },\n ],\n managedRules: [\n {\n type: \"DefaultRuleSet\",\n version: \"1.0\",\n exclusions: [{\n matchVariable: \"QueryStringArgNames\",\n operator: \"Equals\",\n selector: \"not_suspicious\",\n }],\n overrides: [\n {\n ruleGroupName: \"PHP\",\n rules: [{\n ruleId: \"933100\",\n enabled: false,\n action: \"Block\",\n }],\n },\n {\n ruleGroupName: \"SQLI\",\n exclusions: [{\n matchVariable: \"QueryStringArgNames\",\n operator: \"Equals\",\n selector: \"really_not_suspicious\",\n }],\n rules: [{\n ruleId: \"942200\",\n action: \"Block\",\n exclusions: [{\n matchVariable: \"QueryStringArgNames\",\n operator: \"Equals\",\n selector: \"innocent\",\n }],\n }],\n },\n ],\n },\n {\n type: \"Microsoft_BotManagerRuleSet\",\n version: \"1.0\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\n\nexample = azure.core.ResourceGroup(\"example\",\n name=\"example-rg\",\n location=\"West Europe\")\nexample_firewall_policy = azure.frontdoor.FirewallPolicy(\"example\",\n name=\"examplefdwafpolicy\",\n resource_group_name=example.name,\n enabled=True,\n mode=\"Prevention\",\n redirect_url=\"https://www.contoso.com\",\n custom_block_response_status_code=403,\n custom_block_response_body=\"PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==\",\n custom_rules=[\n {\n \"name\": \"Rule1\",\n \"enabled\": True,\n \"priority\": 1,\n \"rate_limit_duration_in_minutes\": 1,\n \"rate_limit_threshold\": 10,\n \"type\": \"MatchRule\",\n \"action\": \"Block\",\n \"match_conditions\": [{\n \"match_variable\": \"RemoteAddr\",\n \"operator\": \"IPMatch\",\n \"negation_condition\": False,\n \"match_values\": [\n \"192.168.1.0/24\",\n \"10.0.0.0/24\",\n ],\n }],\n },\n {\n \"name\": \"Rule2\",\n \"enabled\": True,\n \"priority\": 2,\n \"rate_limit_duration_in_minutes\": 1,\n \"rate_limit_threshold\": 10,\n \"type\": \"MatchRule\",\n \"action\": \"Block\",\n \"match_conditions\": [\n {\n \"match_variable\": \"RemoteAddr\",\n \"operator\": \"IPMatch\",\n \"negation_condition\": False,\n \"match_values\": [\"192.168.1.0/24\"],\n },\n {\n \"match_variable\": \"RequestHeader\",\n \"selector\": \"UserAgent\",\n \"operator\": \"Contains\",\n \"negation_condition\": False,\n \"match_values\": [\"windows\"],\n \"transforms\": [\n \"Lowercase\",\n \"Trim\",\n ],\n },\n ],\n },\n ],\n managed_rules=[\n {\n \"type\": \"DefaultRuleSet\",\n \"version\": \"1.0\",\n \"exclusions\": [{\n \"match_variable\": \"QueryStringArgNames\",\n \"operator\": \"Equals\",\n \"selector\": \"not_suspicious\",\n }],\n \"overrides\": [\n {\n \"rule_group_name\": \"PHP\",\n \"rules\": [{\n \"rule_id\": \"933100\",\n \"enabled\": False,\n \"action\": \"Block\",\n }],\n },\n {\n \"rule_group_name\": \"SQLI\",\n \"exclusions\": [{\n \"match_variable\": \"QueryStringArgNames\",\n \"operator\": \"Equals\",\n \"selector\": \"really_not_suspicious\",\n }],\n \"rules\": [{\n \"rule_id\": \"942200\",\n \"action\": \"Block\",\n \"exclusions\": [{\n \"match_variable\": \"QueryStringArgNames\",\n \"operator\": \"Equals\",\n \"selector\": \"innocent\",\n }],\n }],\n },\n ],\n },\n {\n \"type\": \"Microsoft_BotManagerRuleSet\",\n \"version\": \"1.0\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Azure.Core.ResourceGroup(\"example\", new()\n {\n Name = \"example-rg\",\n Location = \"West Europe\",\n });\n\n var exampleFirewallPolicy = new Azure.FrontDoor.FirewallPolicy(\"example\", new()\n {\n Name = \"examplefdwafpolicy\",\n ResourceGroupName = example.Name,\n Enabled = true,\n Mode = \"Prevention\",\n RedirectUrl = \"https://www.contoso.com\",\n CustomBlockResponseStatusCode = 403,\n CustomBlockResponseBody = \"PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==\",\n CustomRules = new[]\n {\n new Azure.FrontDoor.Inputs.FirewallPolicyCustomRuleArgs\n {\n Name = \"Rule1\",\n Enabled = true,\n Priority = 1,\n RateLimitDurationInMinutes = 1,\n RateLimitThreshold = 10,\n Type = \"MatchRule\",\n Action = \"Block\",\n MatchConditions = new[]\n {\n new Azure.FrontDoor.Inputs.FirewallPolicyCustomRuleMatchConditionArgs\n {\n MatchVariable = \"RemoteAddr\",\n Operator = \"IPMatch\",\n NegationCondition = false,\n MatchValues = new[]\n {\n \"192.168.1.0/24\",\n \"10.0.0.0/24\",\n },\n },\n },\n },\n new Azure.FrontDoor.Inputs.FirewallPolicyCustomRuleArgs\n {\n Name = \"Rule2\",\n Enabled = true,\n Priority = 2,\n RateLimitDurationInMinutes = 1,\n RateLimitThreshold = 10,\n Type = \"MatchRule\",\n Action = \"Block\",\n MatchConditions = new[]\n {\n new Azure.FrontDoor.Inputs.FirewallPolicyCustomRuleMatchConditionArgs\n {\n MatchVariable = \"RemoteAddr\",\n Operator = \"IPMatch\",\n NegationCondition = false,\n MatchValues = new[]\n {\n \"192.168.1.0/24\",\n },\n },\n new Azure.FrontDoor.Inputs.FirewallPolicyCustomRuleMatchConditionArgs\n {\n MatchVariable = \"RequestHeader\",\n Selector = \"UserAgent\",\n Operator = \"Contains\",\n NegationCondition = false,\n MatchValues = new[]\n {\n \"windows\",\n },\n Transforms = new[]\n {\n \"Lowercase\",\n \"Trim\",\n },\n },\n },\n },\n },\n ManagedRules = new[]\n {\n new Azure.FrontDoor.Inputs.FirewallPolicyManagedRuleArgs\n {\n Type = \"DefaultRuleSet\",\n Version = \"1.0\",\n Exclusions = new[]\n {\n new Azure.FrontDoor.Inputs.FirewallPolicyManagedRuleExclusionArgs\n {\n MatchVariable = \"QueryStringArgNames\",\n Operator = \"Equals\",\n Selector = \"not_suspicious\",\n },\n },\n Overrides = new[]\n {\n new Azure.FrontDoor.Inputs.FirewallPolicyManagedRuleOverrideArgs\n {\n RuleGroupName = \"PHP\",\n Rules = new[]\n {\n new Azure.FrontDoor.Inputs.FirewallPolicyManagedRuleOverrideRuleArgs\n {\n RuleId = \"933100\",\n Enabled = false,\n Action = \"Block\",\n },\n },\n },\n new Azure.FrontDoor.Inputs.FirewallPolicyManagedRuleOverrideArgs\n {\n RuleGroupName = \"SQLI\",\n Exclusions = new[]\n {\n new Azure.FrontDoor.Inputs.FirewallPolicyManagedRuleOverrideExclusionArgs\n {\n MatchVariable = \"QueryStringArgNames\",\n Operator = \"Equals\",\n Selector = \"really_not_suspicious\",\n },\n },\n Rules = new[]\n {\n new Azure.FrontDoor.Inputs.FirewallPolicyManagedRuleOverrideRuleArgs\n {\n RuleId = \"942200\",\n Action = \"Block\",\n Exclusions = new[]\n {\n new Azure.FrontDoor.Inputs.FirewallPolicyManagedRuleOverrideRuleExclusionArgs\n {\n MatchVariable = \"QueryStringArgNames\",\n Operator = \"Equals\",\n Selector = \"innocent\",\n },\n },\n },\n },\n },\n },\n },\n new Azure.FrontDoor.Inputs.FirewallPolicyManagedRuleArgs\n {\n Type = \"Microsoft_BotManagerRuleSet\",\n Version = \"1.0\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core\"\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/frontdoor\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := core.NewResourceGroup(ctx, \"example\", \u0026core.ResourceGroupArgs{\n\t\t\tName: pulumi.String(\"example-rg\"),\n\t\t\tLocation: pulumi.String(\"West Europe\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = frontdoor.NewFirewallPolicy(ctx, \"example\", \u0026frontdoor.FirewallPolicyArgs{\n\t\t\tName: pulumi.String(\"examplefdwafpolicy\"),\n\t\t\tResourceGroupName: example.Name,\n\t\t\tEnabled: pulumi.Bool(true),\n\t\t\tMode: pulumi.String(\"Prevention\"),\n\t\t\tRedirectUrl: pulumi.String(\"https://www.contoso.com\"),\n\t\t\tCustomBlockResponseStatusCode: pulumi.Int(403),\n\t\t\tCustomBlockResponseBody: pulumi.String(\"PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==\"),\n\t\t\tCustomRules: frontdoor.FirewallPolicyCustomRuleArray{\n\t\t\t\t\u0026frontdoor.FirewallPolicyCustomRuleArgs{\n\t\t\t\t\tName: pulumi.String(\"Rule1\"),\n\t\t\t\t\tEnabled: pulumi.Bool(true),\n\t\t\t\t\tPriority: pulumi.Int(1),\n\t\t\t\t\tRateLimitDurationInMinutes: pulumi.Int(1),\n\t\t\t\t\tRateLimitThreshold: pulumi.Int(10),\n\t\t\t\t\tType: pulumi.String(\"MatchRule\"),\n\t\t\t\t\tAction: pulumi.String(\"Block\"),\n\t\t\t\t\tMatchConditions: frontdoor.FirewallPolicyCustomRuleMatchConditionArray{\n\t\t\t\t\t\t\u0026frontdoor.FirewallPolicyCustomRuleMatchConditionArgs{\n\t\t\t\t\t\t\tMatchVariable: pulumi.String(\"RemoteAddr\"),\n\t\t\t\t\t\t\tOperator: pulumi.String(\"IPMatch\"),\n\t\t\t\t\t\t\tNegationCondition: pulumi.Bool(false),\n\t\t\t\t\t\t\tMatchValues: pulumi.StringArray{\n\t\t\t\t\t\t\t\tpulumi.String(\"192.168.1.0/24\"),\n\t\t\t\t\t\t\t\tpulumi.String(\"10.0.0.0/24\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026frontdoor.FirewallPolicyCustomRuleArgs{\n\t\t\t\t\tName: pulumi.String(\"Rule2\"),\n\t\t\t\t\tEnabled: pulumi.Bool(true),\n\t\t\t\t\tPriority: pulumi.Int(2),\n\t\t\t\t\tRateLimitDurationInMinutes: pulumi.Int(1),\n\t\t\t\t\tRateLimitThreshold: pulumi.Int(10),\n\t\t\t\t\tType: pulumi.String(\"MatchRule\"),\n\t\t\t\t\tAction: pulumi.String(\"Block\"),\n\t\t\t\t\tMatchConditions: frontdoor.FirewallPolicyCustomRuleMatchConditionArray{\n\t\t\t\t\t\t\u0026frontdoor.FirewallPolicyCustomRuleMatchConditionArgs{\n\t\t\t\t\t\t\tMatchVariable: pulumi.String(\"RemoteAddr\"),\n\t\t\t\t\t\t\tOperator: pulumi.String(\"IPMatch\"),\n\t\t\t\t\t\t\tNegationCondition: pulumi.Bool(false),\n\t\t\t\t\t\t\tMatchValues: pulumi.StringArray{\n\t\t\t\t\t\t\t\tpulumi.String(\"192.168.1.0/24\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026frontdoor.FirewallPolicyCustomRuleMatchConditionArgs{\n\t\t\t\t\t\t\tMatchVariable: pulumi.String(\"RequestHeader\"),\n\t\t\t\t\t\t\tSelector: pulumi.String(\"UserAgent\"),\n\t\t\t\t\t\t\tOperator: pulumi.String(\"Contains\"),\n\t\t\t\t\t\t\tNegationCondition: pulumi.Bool(false),\n\t\t\t\t\t\t\tMatchValues: pulumi.StringArray{\n\t\t\t\t\t\t\t\tpulumi.String(\"windows\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tTransforms: pulumi.StringArray{\n\t\t\t\t\t\t\t\tpulumi.String(\"Lowercase\"),\n\t\t\t\t\t\t\t\tpulumi.String(\"Trim\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tManagedRules: frontdoor.FirewallPolicyManagedRuleArray{\n\t\t\t\t\u0026frontdoor.FirewallPolicyManagedRuleArgs{\n\t\t\t\t\tType: pulumi.String(\"DefaultRuleSet\"),\n\t\t\t\t\tVersion: pulumi.String(\"1.0\"),\n\t\t\t\t\tExclusions: frontdoor.FirewallPolicyManagedRuleExclusionArray{\n\t\t\t\t\t\t\u0026frontdoor.FirewallPolicyManagedRuleExclusionArgs{\n\t\t\t\t\t\t\tMatchVariable: pulumi.String(\"QueryStringArgNames\"),\n\t\t\t\t\t\t\tOperator: pulumi.String(\"Equals\"),\n\t\t\t\t\t\t\tSelector: pulumi.String(\"not_suspicious\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tOverrides: frontdoor.FirewallPolicyManagedRuleOverrideArray{\n\t\t\t\t\t\t\u0026frontdoor.FirewallPolicyManagedRuleOverrideArgs{\n\t\t\t\t\t\t\tRuleGroupName: pulumi.String(\"PHP\"),\n\t\t\t\t\t\t\tRules: frontdoor.FirewallPolicyManagedRuleOverrideRuleArray{\n\t\t\t\t\t\t\t\t\u0026frontdoor.FirewallPolicyManagedRuleOverrideRuleArgs{\n\t\t\t\t\t\t\t\t\tRuleId: pulumi.String(\"933100\"),\n\t\t\t\t\t\t\t\t\tEnabled: pulumi.Bool(false),\n\t\t\t\t\t\t\t\t\tAction: pulumi.String(\"Block\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026frontdoor.FirewallPolicyManagedRuleOverrideArgs{\n\t\t\t\t\t\t\tRuleGroupName: pulumi.String(\"SQLI\"),\n\t\t\t\t\t\t\tExclusions: frontdoor.FirewallPolicyManagedRuleOverrideExclusionArray{\n\t\t\t\t\t\t\t\t\u0026frontdoor.FirewallPolicyManagedRuleOverrideExclusionArgs{\n\t\t\t\t\t\t\t\t\tMatchVariable: pulumi.String(\"QueryStringArgNames\"),\n\t\t\t\t\t\t\t\t\tOperator: pulumi.String(\"Equals\"),\n\t\t\t\t\t\t\t\t\tSelector: pulumi.String(\"really_not_suspicious\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tRules: frontdoor.FirewallPolicyManagedRuleOverrideRuleArray{\n\t\t\t\t\t\t\t\t\u0026frontdoor.FirewallPolicyManagedRuleOverrideRuleArgs{\n\t\t\t\t\t\t\t\t\tRuleId: pulumi.String(\"942200\"),\n\t\t\t\t\t\t\t\t\tAction: pulumi.String(\"Block\"),\n\t\t\t\t\t\t\t\t\tExclusions: frontdoor.FirewallPolicyManagedRuleOverrideRuleExclusionArray{\n\t\t\t\t\t\t\t\t\t\t\u0026frontdoor.FirewallPolicyManagedRuleOverrideRuleExclusionArgs{\n\t\t\t\t\t\t\t\t\t\t\tMatchVariable: pulumi.String(\"QueryStringArgNames\"),\n\t\t\t\t\t\t\t\t\t\t\tOperator: pulumi.String(\"Equals\"),\n\t\t\t\t\t\t\t\t\t\t\tSelector: pulumi.String(\"innocent\"),\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026frontdoor.FirewallPolicyManagedRuleArgs{\n\t\t\t\t\tType: pulumi.String(\"Microsoft_BotManagerRuleSet\"),\n\t\t\t\t\tVersion: pulumi.String(\"1.0\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azure.core.ResourceGroup;\nimport com.pulumi.azure.core.ResourceGroupArgs;\nimport com.pulumi.azure.frontdoor.FirewallPolicy;\nimport com.pulumi.azure.frontdoor.FirewallPolicyArgs;\nimport com.pulumi.azure.frontdoor.inputs.FirewallPolicyCustomRuleArgs;\nimport com.pulumi.azure.frontdoor.inputs.FirewallPolicyManagedRuleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var example = new ResourceGroup(\"example\", ResourceGroupArgs.builder()\n .name(\"example-rg\")\n .location(\"West Europe\")\n .build());\n\n var exampleFirewallPolicy = new FirewallPolicy(\"exampleFirewallPolicy\", FirewallPolicyArgs.builder()\n .name(\"examplefdwafpolicy\")\n .resourceGroupName(example.name())\n .enabled(true)\n .mode(\"Prevention\")\n .redirectUrl(\"https://www.contoso.com\")\n .customBlockResponseStatusCode(403)\n .customBlockResponseBody(\"PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==\")\n .customRules( \n FirewallPolicyCustomRuleArgs.builder()\n .name(\"Rule1\")\n .enabled(true)\n .priority(1)\n .rateLimitDurationInMinutes(1)\n .rateLimitThreshold(10)\n .type(\"MatchRule\")\n .action(\"Block\")\n .matchConditions(FirewallPolicyCustomRuleMatchConditionArgs.builder()\n .matchVariable(\"RemoteAddr\")\n .operator(\"IPMatch\")\n .negationCondition(false)\n .matchValues( \n \"192.168.1.0/24\",\n \"10.0.0.0/24\")\n .build())\n .build(),\n FirewallPolicyCustomRuleArgs.builder()\n .name(\"Rule2\")\n .enabled(true)\n .priority(2)\n .rateLimitDurationInMinutes(1)\n .rateLimitThreshold(10)\n .type(\"MatchRule\")\n .action(\"Block\")\n .matchConditions( \n FirewallPolicyCustomRuleMatchConditionArgs.builder()\n .matchVariable(\"RemoteAddr\")\n .operator(\"IPMatch\")\n .negationCondition(false)\n .matchValues(\"192.168.1.0/24\")\n .build(),\n FirewallPolicyCustomRuleMatchConditionArgs.builder()\n .matchVariable(\"RequestHeader\")\n .selector(\"UserAgent\")\n .operator(\"Contains\")\n .negationCondition(false)\n .matchValues(\"windows\")\n .transforms( \n \"Lowercase\",\n \"Trim\")\n .build())\n .build())\n .managedRules( \n FirewallPolicyManagedRuleArgs.builder()\n .type(\"DefaultRuleSet\")\n .version(\"1.0\")\n .exclusions(FirewallPolicyManagedRuleExclusionArgs.builder()\n .matchVariable(\"QueryStringArgNames\")\n .operator(\"Equals\")\n .selector(\"not_suspicious\")\n .build())\n .overrides( \n FirewallPolicyManagedRuleOverrideArgs.builder()\n .ruleGroupName(\"PHP\")\n .rules(FirewallPolicyManagedRuleOverrideRuleArgs.builder()\n .ruleId(\"933100\")\n .enabled(false)\n .action(\"Block\")\n .build())\n .build(),\n FirewallPolicyManagedRuleOverrideArgs.builder()\n .ruleGroupName(\"SQLI\")\n .exclusions(FirewallPolicyManagedRuleOverrideExclusionArgs.builder()\n .matchVariable(\"QueryStringArgNames\")\n .operator(\"Equals\")\n .selector(\"really_not_suspicious\")\n .build())\n .rules(FirewallPolicyManagedRuleOverrideRuleArgs.builder()\n .ruleId(\"942200\")\n .action(\"Block\")\n .exclusions(FirewallPolicyManagedRuleOverrideRuleExclusionArgs.builder()\n .matchVariable(\"QueryStringArgNames\")\n .operator(\"Equals\")\n .selector(\"innocent\")\n .build())\n .build())\n .build())\n .build(),\n FirewallPolicyManagedRuleArgs.builder()\n .type(\"Microsoft_BotManagerRuleSet\")\n .version(\"1.0\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: azure:core:ResourceGroup\n properties:\n name: example-rg\n location: West Europe\n exampleFirewallPolicy:\n type: azure:frontdoor:FirewallPolicy\n name: example\n properties:\n name: examplefdwafpolicy\n resourceGroupName: ${example.name}\n enabled: true\n mode: Prevention\n redirectUrl: https://www.contoso.com\n customBlockResponseStatusCode: 403\n customBlockResponseBody: PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==\n customRules:\n - name: Rule1\n enabled: true\n priority: 1\n rateLimitDurationInMinutes: 1\n rateLimitThreshold: 10\n type: MatchRule\n action: Block\n matchConditions:\n - matchVariable: RemoteAddr\n operator: IPMatch\n negationCondition: false\n matchValues:\n - 192.168.1.0/24\n - 10.0.0.0/24\n - name: Rule2\n enabled: true\n priority: 2\n rateLimitDurationInMinutes: 1\n rateLimitThreshold: 10\n type: MatchRule\n action: Block\n matchConditions:\n - matchVariable: RemoteAddr\n operator: IPMatch\n negationCondition: false\n matchValues:\n - 192.168.1.0/24\n - matchVariable: RequestHeader\n selector: UserAgent\n operator: Contains\n negationCondition: false\n matchValues:\n - windows\n transforms:\n - Lowercase\n - Trim\n managedRules:\n - type: DefaultRuleSet\n version: '1.0'\n exclusions:\n - matchVariable: QueryStringArgNames\n operator: Equals\n selector: not_suspicious\n overrides:\n - ruleGroupName: PHP\n rules:\n - ruleId: '933100'\n enabled: false\n action: Block\n - ruleGroupName: SQLI\n exclusions:\n - matchVariable: QueryStringArgNames\n operator: Equals\n selector: really_not_suspicious\n rules:\n - ruleId: '942200'\n action: Block\n exclusions:\n - matchVariable: QueryStringArgNames\n operator: Equals\n selector: innocent\n - type: Microsoft_BotManagerRuleSet\n version: '1.0'\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nFrontDoor Web Application Firewall Policy can be imported using the `resource id`, e.g.\n\n```sh\n$ pulumi import azure:frontdoor/firewallPolicy:FirewallPolicy example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example-rg/providers/Microsoft.Network/frontDoorWebApplicationFirewallPolicies/examplefdwafpolicy\n```\n\n", "properties": { "customBlockResponseBody": { "type": "string", @@ -210706,7 +210706,7 @@ }, "callbackUrl": { "type": "string", - "description": "The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group.\n" + "description": "The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group and security_center_automation.\n" }, "logicAppId": { "type": "string", @@ -210752,7 +210752,7 @@ }, "callbackUrl": { "type": "string", - "description": "The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group.\n" + "description": "The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group and security_center_automation.\n" }, "logicAppId": { "type": "string", @@ -210773,7 +210773,7 @@ "properties": { "callbackUrl": { "type": "string", - "description": "The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group.\n" + "description": "The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group and security_center_automation.\n" }, "logicAppId": { "type": "string", @@ -210835,7 +210835,7 @@ "properties": { "callbackUrl": { "type": "string", - "description": "The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group.\n" + "description": "The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group and security_center_automation.\n" }, "logicAppId": { "type": "string", @@ -282152,7 +282152,7 @@ } }, "azure:appservice/getAppService:getAppService": { - "description": "Use this data source to access information about an existing App Service.\n\n!\u003e **Note:** The `azure.appservice.AppService` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `azure.appservice.LinuxWebApp` data sources instead.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\n\nconst example = azure.appservice.getAppService({\n name: \"search-app-service\",\n resourceGroupName: \"search-service\",\n});\nexport const appServiceId = example.then(example =\u003e example.id);\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\n\nexample = azure.appservice.get_app_service(name=\"search-app-service\",\n resource_group_name=\"search-service\")\npulumi.export(\"appServiceId\", example.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Azure.AppService.GetAppService.Invoke(new()\n {\n Name = \"search-app-service\",\n ResourceGroupName = \"search-service\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"appServiceId\"] = example.Apply(getAppServiceResult =\u003e getAppServiceResult.Id),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/appservice\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := appservice.LookupAppService(ctx, \u0026appservice.LookupAppServiceArgs{\n\t\t\tName: \"search-app-service\",\n\t\t\tResourceGroupName: \"search-service\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"appServiceId\", example.Id)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azure.appservice.AppserviceFunctions;\nimport com.pulumi.azure.appservice.inputs.GetAppServiceArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = AppserviceFunctions.getAppService(GetAppServiceArgs.builder()\n .name(\"search-app-service\")\n .resourceGroupName(\"search-service\")\n .build());\n\n ctx.export(\"appServiceId\", example.applyValue(getAppServiceResult -\u003e getAppServiceResult.id()));\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: azure:appservice:getAppService\n Arguments:\n name: search-app-service\n resourceGroupName: search-service\noutputs:\n appServiceId: ${example.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Use this data source to access information about an existing App Service.\n\n!\u003e **Note:** The `azure.appservice.AppService` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `azure.appservice.LinuxWebApp` and `azure.appservice.WindowsWebApp` data sources instead.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\n\nconst example = azure.appservice.getAppService({\n name: \"search-app-service\",\n resourceGroupName: \"search-service\",\n});\nexport const appServiceId = example.then(example =\u003e example.id);\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\n\nexample = azure.appservice.get_app_service(name=\"search-app-service\",\n resource_group_name=\"search-service\")\npulumi.export(\"appServiceId\", example.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Azure.AppService.GetAppService.Invoke(new()\n {\n Name = \"search-app-service\",\n ResourceGroupName = \"search-service\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"appServiceId\"] = example.Apply(getAppServiceResult =\u003e getAppServiceResult.Id),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/appservice\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := appservice.LookupAppService(ctx, \u0026appservice.LookupAppServiceArgs{\n\t\t\tName: \"search-app-service\",\n\t\t\tResourceGroupName: \"search-service\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"appServiceId\", example.Id)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azure.appservice.AppserviceFunctions;\nimport com.pulumi.azure.appservice.inputs.GetAppServiceArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = AppserviceFunctions.getAppService(GetAppServiceArgs.builder()\n .name(\"search-app-service\")\n .resourceGroupName(\"search-service\")\n .build());\n\n ctx.export(\"appServiceId\", example.applyValue(getAppServiceResult -\u003e getAppServiceResult.id()));\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: azure:appservice:getAppService\n Arguments:\n name: search-app-service\n resourceGroupName: search-service\noutputs:\n appServiceId: ${example.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getAppService.\n", "properties": { @@ -282879,7 +282879,7 @@ } }, "azure:appservice/getFunctionApp:getFunctionApp": { - "description": "Use this data source to access information about a Function App.\n\n!\u003e **Note:** The `azure.appservice.FunctionApp` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `azure.appservice.LinuxFunctionApp` data sources instead.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\n\nconst example = azure.appservice.getFunctionApp({\n name: \"test-azure-functions\",\n resourceGroupName: exampleAzurermResourceGroup.name,\n});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\n\nexample = azure.appservice.get_function_app(name=\"test-azure-functions\",\n resource_group_name=example_azurerm_resource_group[\"name\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Azure.AppService.GetFunctionApp.Invoke(new()\n {\n Name = \"test-azure-functions\",\n ResourceGroupName = exampleAzurermResourceGroup.Name,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/appservice\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := appservice.LookupFunctionApp(ctx, \u0026appservice.LookupFunctionAppArgs{\n\t\t\tName: \"test-azure-functions\",\n\t\t\tResourceGroupName: exampleAzurermResourceGroup.Name,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azure.appservice.AppserviceFunctions;\nimport com.pulumi.azure.appservice.inputs.GetFunctionAppArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = AppserviceFunctions.getFunctionApp(GetFunctionAppArgs.builder()\n .name(\"test-azure-functions\")\n .resourceGroupName(exampleAzurermResourceGroup.name())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: azure:appservice:getFunctionApp\n Arguments:\n name: test-azure-functions\n resourceGroupName: ${exampleAzurermResourceGroup.name}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Use this data source to access information about a Function App.\n\n!\u003e **Note:** The `azure.appservice.FunctionApp` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `azure.appservice.LinuxFunctionApp` and `azure.appservice.WindowsFunctionApp` data sources instead.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure from \"@pulumi/azure\";\n\nconst example = azure.appservice.getFunctionApp({\n name: \"test-azure-functions\",\n resourceGroupName: exampleAzurermResourceGroup.name,\n});\n```\n```python\nimport pulumi\nimport pulumi_azure as azure\n\nexample = azure.appservice.get_function_app(name=\"test-azure-functions\",\n resource_group_name=example_azurerm_resource_group[\"name\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Azure = Pulumi.Azure;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Azure.AppService.GetFunctionApp.Invoke(new()\n {\n Name = \"test-azure-functions\",\n ResourceGroupName = exampleAzurermResourceGroup.Name,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/appservice\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := appservice.LookupFunctionApp(ctx, \u0026appservice.LookupFunctionAppArgs{\n\t\t\tName: \"test-azure-functions\",\n\t\t\tResourceGroupName: exampleAzurermResourceGroup.Name,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azure.appservice.AppserviceFunctions;\nimport com.pulumi.azure.appservice.inputs.GetFunctionAppArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = AppserviceFunctions.getFunctionApp(GetFunctionAppArgs.builder()\n .name(\"test-azure-functions\")\n .resourceGroupName(exampleAzurermResourceGroup.name())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: azure:appservice:getFunctionApp\n Arguments:\n name: test-azure-functions\n resourceGroupName: ${exampleAzurermResourceGroup.name}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getFunctionApp.\n", "properties": { diff --git a/provider/go.mod b/provider/go.mod index 2b5bc907f9..c57fa66e5d 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -1,6 +1,8 @@ module github.com/pulumi/pulumi-azure/provider/v5 -go 1.21.12 +go 1.22 + +toolchain go1.22.7 require ( github.com/Azure/go-autorest/autorest/azure/cli v0.4.6 @@ -8,8 +10,8 @@ require ( github.com/hashicorp/terraform-plugin-sdk/v2 v2.33.0 github.com/hashicorp/terraform-provider-azurerm v1.44.1-0.20220923005104-eaa801c358ff github.com/pulumi/providertest v0.0.14 - github.com/pulumi/pulumi-terraform-bridge/v3 v3.89.1 - github.com/pulumi/pulumi/sdk/v3 v3.129.0 + github.com/pulumi/pulumi-terraform-bridge/v3 v3.90.0 + github.com/pulumi/pulumi/sdk/v3 v3.130.0 github.com/stretchr/testify v1.9.0 ) @@ -199,7 +201,7 @@ require ( github.com/pulumi/pulumi-java/pkg v0.14.0 // indirect github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8 // indirect github.com/pulumi/pulumi-yaml v1.9.2 // indirect - github.com/pulumi/pulumi/pkg/v3 v3.129.0 // indirect + github.com/pulumi/pulumi/pkg/v3 v3.130.0 // indirect github.com/pulumi/schema-tools v0.1.2 // indirect github.com/pulumi/terraform-diff-reader v0.0.2 // indirect github.com/rickb777/date v1.12.5-0.20200422084442-6300e543c4d9 // indirect diff --git a/provider/go.sum b/provider/go.sum index f426f58c8c..752e8b5235 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -1964,16 +1964,16 @@ github.com/pulumi/providertest v0.0.14 h1:5QlAPAAs82jkQraHsJvq1xgVfC7xtW8sFJwv2p github.com/pulumi/providertest v0.0.14/go.mod h1:GcsqEGgSngwaNOD+kICJPIUQlnA911fGBU8HDlJvVL0= github.com/pulumi/pulumi-java/pkg v0.14.0 h1:CKL7lLF81Fq6VRhA5TNFsSMnHraTNCUzIhqCzYX8Wzk= github.com/pulumi/pulumi-java/pkg v0.14.0/go.mod h1:VybuJMWJtJc9ZNbt1kcYH4TbpocMx9mEi7YWL2Co99c= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.89.1 h1:FLQknb6r3r/uaj1XLbouFF88eF1Fk0h4JOVS9kHKDRY= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.89.1/go.mod h1:JAxygKR/XGW6zIv6iOP6sHAYjZ7OCtqU7j6Od1lUk38= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.90.0 h1:e7xfYAiXCE8LCwfKvbGeNAjdPmKwPM3kavEXECt3wvs= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.90.0/go.mod h1:dIVp4qG+GsUwmpz40L7Z+PZnzHf3cQq1CAFwhz++ris= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8 h1:mav2tSitA9BPJPLLahKgepHyYsMzwaTm4cvp0dcTMYw= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8/go.mod h1:qUYk2c9i/yqMGNj9/bQyXpS39BxNDSXYjVN1njnq0zY= github.com/pulumi/pulumi-yaml v1.9.2 h1:BCUuRPA1USmFXrExiHRU8yJ+OiphLYnroPxKRgGCJrs= github.com/pulumi/pulumi-yaml v1.9.2/go.mod h1:sIh/Oa/NLRGTojevh8D2/cPDPvo2j9iXegVDQIKKfw4= -github.com/pulumi/pulumi/pkg/v3 v3.129.0 h1:n4Jd4ctlvw3eqyHglb/yJKDtRqjOvdkCBfG5T+orU30= -github.com/pulumi/pulumi/pkg/v3 v3.129.0/go.mod h1:W3c7JgO064kUH5IfyQMCgmsAr5iwr3PO6KEeIQiO0dY= -github.com/pulumi/pulumi/sdk/v3 v3.129.0 h1:uZpTTwWTx7Mk8UT9FgatzxzArim47vZ6hzNCKvgvX6A= -github.com/pulumi/pulumi/sdk/v3 v3.129.0/go.mod h1:p1U24en3zt51agx+WlNboSOV8eLlPWYAkxMzVEXKbnY= +github.com/pulumi/pulumi/pkg/v3 v3.130.0 h1:lS51XeCnhg72LXkMiw2FP1cGP+Y85wYD3quWhCPD5+M= +github.com/pulumi/pulumi/pkg/v3 v3.130.0/go.mod h1:jhZ1Ug5Rl1qivexgEWvmwSWYIT/jRnKSFhLwwv6PrZ0= +github.com/pulumi/pulumi/sdk/v3 v3.130.0 h1:gGJNd+akPqhZ+vrsZmAjSNJn6kGJkitjjkwrmIQMmn8= +github.com/pulumi/pulumi/sdk/v3 v3.130.0/go.mod h1:p1U24en3zt51agx+WlNboSOV8eLlPWYAkxMzVEXKbnY= github.com/pulumi/schema-tools v0.1.2 h1:Fd9xvUjgck4NA+7/jSk7InqCUT4Kj940+EcnbQKpfZo= github.com/pulumi/schema-tools v0.1.2/go.mod h1:62lgj52Tzq11eqWTIaKd+EVyYAu5dEcDJxMhTjvMO/k= github.com/pulumi/terraform-diff-reader v0.0.2 h1:kTE4nEXU3/SYXESvAIem+wyHMI3abqkI3OhJ0G04LLI= diff --git a/sdk/dotnet/AppService/AppService.cs b/sdk/dotnet/AppService/AppService.cs index 086e6017b0..c883578f26 100644 --- a/sdk/dotnet/AppService/AppService.cs +++ b/sdk/dotnet/AppService/AppService.cs @@ -12,7 +12,7 @@ namespace Pulumi.Azure.AppService /// /// Manages an App Service (within an App Service Plan). /// - /// !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.appservice.LinuxWebApp` resources instead. + /// !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.appservice.LinuxWebApp` and `azure.appservice.WindowsWebApp` resources instead. /// /// > **Note:** When using Slots - the `app_settings`, `connection_string` and `site_config` blocks on the `azure.appservice.AppService` resource will be overwritten when promoting a Slot using the `azure.appservice.ActiveSlot` resource. /// diff --git a/sdk/dotnet/AppService/FunctionApp.cs b/sdk/dotnet/AppService/FunctionApp.cs index 7a7fa5ce4b..549141d651 100644 --- a/sdk/dotnet/AppService/FunctionApp.cs +++ b/sdk/dotnet/AppService/FunctionApp.cs @@ -12,7 +12,7 @@ namespace Pulumi.Azure.AppService /// /// Manages a Function App. /// - /// !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.appservice.LinuxFunctionApp` resources instead. + /// !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.appservice.LinuxFunctionApp` and `azure.appservice.WindowsFunctionApp` resources instead. /// /// > **Note:** To connect an Azure Function App and a subnet within the same region `azure.appservice.VirtualNetworkSwiftConnection` can be used. /// For an example, check the `azure.appservice.VirtualNetworkSwiftConnection` documentation. diff --git a/sdk/dotnet/AppService/FunctionAppSlot.cs b/sdk/dotnet/AppService/FunctionAppSlot.cs index aa2e1bb818..7069c75412 100644 --- a/sdk/dotnet/AppService/FunctionAppSlot.cs +++ b/sdk/dotnet/AppService/FunctionAppSlot.cs @@ -12,7 +12,7 @@ namespace Pulumi.Azure.AppService /// /// Manages a Function App deployment Slot. /// - /// !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.appservice.LinuxFunctionAppSlot` resources instead. + /// !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.appservice.LinuxFunctionAppSlot` and `azure.appservice.WindowsFunctionAppSlot` resources instead. /// /// ## Example Usage /// diff --git a/sdk/dotnet/AppService/GetAppService.cs b/sdk/dotnet/AppService/GetAppService.cs index ac91d7d8b9..994e8ac5c6 100644 --- a/sdk/dotnet/AppService/GetAppService.cs +++ b/sdk/dotnet/AppService/GetAppService.cs @@ -14,7 +14,7 @@ public static class GetAppService /// /// Use this data source to access information about an existing App Service. /// - /// !> **Note:** The `azure.appservice.AppService` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `azure.appservice.LinuxWebApp` data sources instead. + /// !> **Note:** The `azure.appservice.AppService` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `azure.appservice.LinuxWebApp` and `azure.appservice.WindowsWebApp` data sources instead. /// /// ## Example Usage /// @@ -45,7 +45,7 @@ public static Task InvokeAsync(GetAppServiceArgs args, Invo /// /// Use this data source to access information about an existing App Service. /// - /// !> **Note:** The `azure.appservice.AppService` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `azure.appservice.LinuxWebApp` data sources instead. + /// !> **Note:** The `azure.appservice.AppService` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `azure.appservice.LinuxWebApp` and `azure.appservice.WindowsWebApp` data sources instead. /// /// ## Example Usage /// diff --git a/sdk/dotnet/AppService/GetFunctionApp.cs b/sdk/dotnet/AppService/GetFunctionApp.cs index 2a49d8e392..a96df24c8a 100644 --- a/sdk/dotnet/AppService/GetFunctionApp.cs +++ b/sdk/dotnet/AppService/GetFunctionApp.cs @@ -14,7 +14,7 @@ public static class GetFunctionApp /// /// Use this data source to access information about a Function App. /// - /// !> **Note:** The `azure.appservice.FunctionApp` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `azure.appservice.LinuxFunctionApp` data sources instead. + /// !> **Note:** The `azure.appservice.FunctionApp` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `azure.appservice.LinuxFunctionApp` and `azure.appservice.WindowsFunctionApp` data sources instead. /// /// ## Example Usage /// @@ -41,7 +41,7 @@ public static Task InvokeAsync(GetFunctionAppArgs args, In /// /// Use this data source to access information about a Function App. /// - /// !> **Note:** The `azure.appservice.FunctionApp` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `azure.appservice.LinuxFunctionApp` data sources instead. + /// !> **Note:** The `azure.appservice.FunctionApp` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `azure.appservice.LinuxFunctionApp` and `azure.appservice.WindowsFunctionApp` data sources instead. /// /// ## Example Usage /// diff --git a/sdk/dotnet/AppService/HybridConnection.cs b/sdk/dotnet/AppService/HybridConnection.cs index 0ccd31a9ff..d47ed477c3 100644 --- a/sdk/dotnet/AppService/HybridConnection.cs +++ b/sdk/dotnet/AppService/HybridConnection.cs @@ -12,7 +12,7 @@ namespace Pulumi.Azure.AppService /// /// Manages an App Service Hybrid Connection for an existing App Service, Relay and Service Bus. /// - /// !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.appservice.FunctionAppHybridConnection` resources instead. + /// !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.appservice.FunctionAppHybridConnection` and `azure.appservice.WebAppHybridConnection` resources instead. /// /// ## Example Usage /// diff --git a/sdk/dotnet/AppService/Slot.cs b/sdk/dotnet/AppService/Slot.cs index a17fd0da42..e2e50cab8f 100644 --- a/sdk/dotnet/AppService/Slot.cs +++ b/sdk/dotnet/AppService/Slot.cs @@ -12,7 +12,7 @@ namespace Pulumi.Azure.AppService /// /// Manages an App Service Slot (within an App Service). /// - /// !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.appservice.LinuxWebAppSlot` resources instead. + /// !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.appservice.LinuxWebAppSlot` and `azure.appservice.WindowsWebAppSlot` resources instead. /// /// > **Note:** When using Slots - the `app_settings`, `connection_string` and `site_config` blocks on the `azure.appservice.AppService` resource will be overwritten when promoting a Slot using the `azure.appservice.ActiveSlot` resource. /// diff --git a/sdk/dotnet/Cdn/Endpoint.cs b/sdk/dotnet/Cdn/Endpoint.cs index 921ba9abd7..293cf1cefe 100644 --- a/sdk/dotnet/Cdn/Endpoint.cs +++ b/sdk/dotnet/Cdn/Endpoint.cs @@ -12,7 +12,7 @@ namespace Pulumi.Azure.Cdn /// /// A CDN Endpoint is the entity within a CDN Profile containing configuration information regarding caching behaviours and origins. The CDN Endpoint is exposed using the URL format `<endpointname>.azureedge.net`. /// - /// !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue as the necessary changes are identified. + /// !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue - however unfortunately this may necessitate a breaking change to the CDN and FrontDoor resources, more information will be posted in the GitHub issue as the necessary changes are identified. /// /// ## Example Usage /// diff --git a/sdk/dotnet/Cdn/Profile.cs b/sdk/dotnet/Cdn/Profile.cs index 1931f72088..4f6a1aa35d 100644 --- a/sdk/dotnet/Cdn/Profile.cs +++ b/sdk/dotnet/Cdn/Profile.cs @@ -12,7 +12,7 @@ namespace Pulumi.Azure.Cdn /// /// Manages a CDN Profile to create a collection of CDN Endpoints. /// - /// !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue as the necessary changes are identified. + /// !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue - however unfortunately this may necessitate a breaking change to the CDN and FrontDoor resources, more information will be posted in the GitHub issue as the necessary changes are identified. /// /// ## Example Usage /// diff --git a/sdk/dotnet/Compute/Inputs/OrchestratedVirtualMachineScaleSetOsProfileWindowsConfigurationArgs.cs b/sdk/dotnet/Compute/Inputs/OrchestratedVirtualMachineScaleSetOsProfileWindowsConfigurationArgs.cs index e525446a01..c20542c50a 100644 --- a/sdk/dotnet/Compute/Inputs/OrchestratedVirtualMachineScaleSetOsProfileWindowsConfigurationArgs.cs +++ b/sdk/dotnet/Compute/Inputs/OrchestratedVirtualMachineScaleSetOsProfileWindowsConfigurationArgs.cs @@ -61,7 +61,7 @@ public Input? AdminPassword /// /// Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch). /// - /// > **Note:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, the VM's `sku_name` is set to a Azure generation 2 directory within the GitHub Repository. + /// > **Note:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, the VM's `sku_name` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM SKU and the `extension` contains an application health extension. An example of how to correctly configure a Virtual Machine Scale Set to provision a Windows Virtual Machine with hotpatching enabled can be found in the `./examples/orchestrated-vm-scale-set/hotpatching-enabled` directory within the GitHub Repository. /// [Input("hotpatchingEnabled")] public Input? HotpatchingEnabled { get; set; } diff --git a/sdk/dotnet/Compute/Inputs/OrchestratedVirtualMachineScaleSetOsProfileWindowsConfigurationGetArgs.cs b/sdk/dotnet/Compute/Inputs/OrchestratedVirtualMachineScaleSetOsProfileWindowsConfigurationGetArgs.cs index 6a00bfcc5d..933a1bd5dc 100644 --- a/sdk/dotnet/Compute/Inputs/OrchestratedVirtualMachineScaleSetOsProfileWindowsConfigurationGetArgs.cs +++ b/sdk/dotnet/Compute/Inputs/OrchestratedVirtualMachineScaleSetOsProfileWindowsConfigurationGetArgs.cs @@ -61,7 +61,7 @@ public Input? AdminPassword /// /// Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch). /// - /// > **Note:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, the VM's `sku_name` is set to a Azure generation 2 directory within the GitHub Repository. + /// > **Note:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, the VM's `sku_name` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM SKU and the `extension` contains an application health extension. An example of how to correctly configure a Virtual Machine Scale Set to provision a Windows Virtual Machine with hotpatching enabled can be found in the `./examples/orchestrated-vm-scale-set/hotpatching-enabled` directory within the GitHub Repository. /// [Input("hotpatchingEnabled")] public Input? HotpatchingEnabled { get; set; } diff --git a/sdk/dotnet/Compute/Outputs/OrchestratedVirtualMachineScaleSetOsProfileWindowsConfiguration.cs b/sdk/dotnet/Compute/Outputs/OrchestratedVirtualMachineScaleSetOsProfileWindowsConfiguration.cs index 60f88d1633..7c0ff184b3 100644 --- a/sdk/dotnet/Compute/Outputs/OrchestratedVirtualMachineScaleSetOsProfileWindowsConfiguration.cs +++ b/sdk/dotnet/Compute/Outputs/OrchestratedVirtualMachineScaleSetOsProfileWindowsConfiguration.cs @@ -36,7 +36,7 @@ public sealed class OrchestratedVirtualMachineScaleSetOsProfileWindowsConfigurat /// /// Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch). /// - /// > **Note:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, the VM's `sku_name` is set to a Azure generation 2 directory within the GitHub Repository. + /// > **Note:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, the VM's `sku_name` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM SKU and the `extension` contains an application health extension. An example of how to correctly configure a Virtual Machine Scale Set to provision a Windows Virtual Machine with hotpatching enabled can be found in the `./examples/orchestrated-vm-scale-set/hotpatching-enabled` directory within the GitHub Repository. /// public readonly bool? HotpatchingEnabled; /// diff --git a/sdk/dotnet/Compute/WindowsVirtualMachine.cs b/sdk/dotnet/Compute/WindowsVirtualMachine.cs index a77647182c..16dd8b2827 100644 --- a/sdk/dotnet/Compute/WindowsVirtualMachine.cs +++ b/sdk/dotnet/Compute/WindowsVirtualMachine.cs @@ -251,7 +251,7 @@ public partial class WindowsVirtualMachine : global::Pulumi.CustomResource /// /// Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch). /// - /// > **NOTE:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, and the VM's `size` is set to a Azure generation 2 directory within the GitHub Repository. + /// > **NOTE:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, and the VM's `size` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM. An example of how to correctly configure a Windows Virtual Machine to use the `hotpatching_enabled` field can be found in the `./examples/virtual-machines/windows/hotpatching-enabled` directory within the GitHub Repository. /// [Output("hotpatchingEnabled")] public Output HotpatchingEnabled { get; private set; } = null!; @@ -706,7 +706,7 @@ public InputList GalleryAppl /// /// Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch). /// - /// > **NOTE:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, and the VM's `size` is set to a Azure generation 2 directory within the GitHub Repository. + /// > **NOTE:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, and the VM's `size` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM. An example of how to correctly configure a Windows Virtual Machine to use the `hotpatching_enabled` field can be found in the `./examples/virtual-machines/windows/hotpatching-enabled` directory within the GitHub Repository. /// [Input("hotpatchingEnabled")] public Input? HotpatchingEnabled { get; set; } @@ -1112,7 +1112,7 @@ public InputList GalleryA /// /// Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch). /// - /// > **NOTE:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, and the VM's `size` is set to a Azure generation 2 directory within the GitHub Repository. + /// > **NOTE:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, and the VM's `size` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM. An example of how to correctly configure a Windows Virtual Machine to use the `hotpatching_enabled` field can be found in the `./examples/virtual-machines/windows/hotpatching-enabled` directory within the GitHub Repository. /// [Input("hotpatchingEnabled")] public Input? HotpatchingEnabled { get; set; } diff --git a/sdk/dotnet/FrontDoor/CustomHttpsConfiguration.cs b/sdk/dotnet/FrontDoor/CustomHttpsConfiguration.cs index 2db4ec860c..13a1799131 100644 --- a/sdk/dotnet/FrontDoor/CustomHttpsConfiguration.cs +++ b/sdk/dotnet/FrontDoor/CustomHttpsConfiguration.cs @@ -20,7 +20,7 @@ namespace Pulumi.Azure.FrontDoor /// /// !> **BREAKING CHANGE:** The `resource_group_name` field has been removed as of the `v2.58.0` provider release. If the `resource_group_name` field has been defined in your current `azure.frontdoor.CustomHttpsConfiguration` resource configuration file please remove it else you will receive a `An argument named "resource_group_name" is not expected here.` error. If your pre-existing Front Door instance contained inline `custom_https_configuration` blocks there are additional steps that will need to be completed to successfully migrate your Front Door onto the `v2.58.0` provider which can be found in this guide. /// - /// !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue as the necessary changes are identified. + /// !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue - however unfortunately this may necessitate a breaking change to the CDN and Front Door resources, more information will be posted in the GitHub issue as the necessary changes are identified. /// /// ```csharp /// using System.Collections.Generic; diff --git a/sdk/dotnet/FrontDoor/FirewallPolicy.cs b/sdk/dotnet/FrontDoor/FirewallPolicy.cs index 936a5a427a..7fd7a5611b 100644 --- a/sdk/dotnet/FrontDoor/FirewallPolicy.cs +++ b/sdk/dotnet/FrontDoor/FirewallPolicy.cs @@ -14,7 +14,7 @@ namespace Pulumi.Azure.FrontDoor /// /// Manages an Azure Front Door (classic) Web Application Firewall Policy instance. /// - /// !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue as the necessary changes are identified. + /// !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue - however unfortunately this may necessitate a breaking change to the CDN and Front Door resources, more information will be posted in the GitHub issue as the necessary changes are identified. /// /// ## Example Usage /// diff --git a/sdk/dotnet/LogicApps/TriggerCustom.cs b/sdk/dotnet/LogicApps/TriggerCustom.cs index ddf4150b2c..92af7a4030 100644 --- a/sdk/dotnet/LogicApps/TriggerCustom.cs +++ b/sdk/dotnet/LogicApps/TriggerCustom.cs @@ -70,7 +70,7 @@ public partial class TriggerCustom : global::Pulumi.CustomResource public Output Body { get; private set; } = null!; /// - /// The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group. + /// The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group and security_center_automation. /// [Output("callbackUrl")] public Output CallbackUrl { get; private set; } = null!; @@ -170,7 +170,7 @@ public sealed class TriggerCustomState : global::Pulumi.ResourceArgs public Input? Body { get; set; } /// - /// The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group. + /// The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group and security_center_automation. /// [Input("callbackUrl")] public Input? CallbackUrl { get; set; } diff --git a/sdk/dotnet/LogicApps/TriggerHttpRequest.cs b/sdk/dotnet/LogicApps/TriggerHttpRequest.cs index 18e322be4f..b92a35eeff 100644 --- a/sdk/dotnet/LogicApps/TriggerHttpRequest.cs +++ b/sdk/dotnet/LogicApps/TriggerHttpRequest.cs @@ -65,7 +65,7 @@ namespace Pulumi.Azure.LogicApps public partial class TriggerHttpRequest : global::Pulumi.CustomResource { /// - /// The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group. + /// The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group and security_center_automation. /// [Output("callbackUrl")] public Output CallbackUrl { get; private set; } = null!; @@ -193,7 +193,7 @@ public TriggerHttpRequestArgs() public sealed class TriggerHttpRequestState : global::Pulumi.ResourceArgs { /// - /// The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group. + /// The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group and security_center_automation. /// [Input("callbackUrl")] public Input? CallbackUrl { get; set; } diff --git a/sdk/go.mod b/sdk/go.mod index 37ffc204e4..72041b723b 100644 --- a/sdk/go.mod +++ b/sdk/go.mod @@ -4,7 +4,7 @@ go 1.21 require ( github.com/blang/semver v3.5.1+incompatible - github.com/pulumi/pulumi/sdk/v3 v3.129.0 + github.com/pulumi/pulumi/sdk/v3 v3.130.0 ) require ( diff --git a/sdk/go.sum b/sdk/go.sum index 83c43d8f8a..972c0accf6 100644 --- a/sdk/go.sum +++ b/sdk/go.sum @@ -150,8 +150,8 @@ github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435 github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE= github.com/pulumi/esc v0.9.1 h1:HH5eEv8sgyxSpY5a8yePyqFXzA8cvBvapfH8457+mIs= github.com/pulumi/esc v0.9.1/go.mod h1:oEJ6bOsjYlQUpjf70GiX+CXn3VBmpwFDxUTlmtUN84c= -github.com/pulumi/pulumi/sdk/v3 v3.129.0 h1:uZpTTwWTx7Mk8UT9FgatzxzArim47vZ6hzNCKvgvX6A= -github.com/pulumi/pulumi/sdk/v3 v3.129.0/go.mod h1:p1U24en3zt51agx+WlNboSOV8eLlPWYAkxMzVEXKbnY= +github.com/pulumi/pulumi/sdk/v3 v3.130.0 h1:gGJNd+akPqhZ+vrsZmAjSNJn6kGJkitjjkwrmIQMmn8= +github.com/pulumi/pulumi/sdk/v3 v3.130.0/go.mod h1:p1U24en3zt51agx+WlNboSOV8eLlPWYAkxMzVEXKbnY= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= diff --git a/sdk/go/azure/appservice/appService.go b/sdk/go/azure/appservice/appService.go index 044e37edeb..39213574aa 100644 --- a/sdk/go/azure/appservice/appService.go +++ b/sdk/go/azure/appservice/appService.go @@ -14,7 +14,7 @@ import ( // Manages an App Service (within an App Service Plan). // -// !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `appservice.LinuxWebApp` resources instead. +// !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `appservice.LinuxWebApp` and `appservice.WindowsWebApp` resources instead. // // > **Note:** When using Slots - the `appSettings`, `connectionString` and `siteConfig` blocks on the `appservice.AppService` resource will be overwritten when promoting a Slot using the `appservice.ActiveSlot` resource. // diff --git a/sdk/go/azure/appservice/functionApp.go b/sdk/go/azure/appservice/functionApp.go index 1ac71a909e..36cdcd9945 100644 --- a/sdk/go/azure/appservice/functionApp.go +++ b/sdk/go/azure/appservice/functionApp.go @@ -14,7 +14,7 @@ import ( // Manages a Function App. // -// !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `appservice.LinuxFunctionApp` resources instead. +// !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `appservice.LinuxFunctionApp` and `appservice.WindowsFunctionApp` resources instead. // // > **Note:** To connect an Azure Function App and a subnet within the same region `appservice.VirtualNetworkSwiftConnection` can be used. // For an example, check the `appservice.VirtualNetworkSwiftConnection` documentation. diff --git a/sdk/go/azure/appservice/functionAppSlot.go b/sdk/go/azure/appservice/functionAppSlot.go index 91bccd89fe..592dc160fc 100644 --- a/sdk/go/azure/appservice/functionAppSlot.go +++ b/sdk/go/azure/appservice/functionAppSlot.go @@ -14,7 +14,7 @@ import ( // Manages a Function App deployment Slot. // -// !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `appservice.LinuxFunctionAppSlot` resources instead. +// !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `appservice.LinuxFunctionAppSlot` and `appservice.WindowsFunctionAppSlot` resources instead. // // ## Example Usage // diff --git a/sdk/go/azure/appservice/getAppService.go b/sdk/go/azure/appservice/getAppService.go index c849fd6838..a3b44bd409 100644 --- a/sdk/go/azure/appservice/getAppService.go +++ b/sdk/go/azure/appservice/getAppService.go @@ -13,7 +13,7 @@ import ( // Use this data source to access information about an existing App Service. // -// !> **Note:** The `appservice.AppService` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `appservice.LinuxWebApp` data sources instead. +// !> **Note:** The `appservice.AppService` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `appservice.LinuxWebApp` and `appservice.WindowsWebApp` data sources instead. // // ## Example Usage // diff --git a/sdk/go/azure/appservice/getFunctionApp.go b/sdk/go/azure/appservice/getFunctionApp.go index 22b4746d58..89ef39fd0a 100644 --- a/sdk/go/azure/appservice/getFunctionApp.go +++ b/sdk/go/azure/appservice/getFunctionApp.go @@ -13,7 +13,7 @@ import ( // Use this data source to access information about a Function App. // -// !> **Note:** The `appservice.FunctionApp` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `appservice.LinuxFunctionApp` data sources instead. +// !> **Note:** The `appservice.FunctionApp` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `appservice.LinuxFunctionApp` and `appservice.WindowsFunctionApp` data sources instead. // // ## Example Usage // diff --git a/sdk/go/azure/appservice/hybridConnection.go b/sdk/go/azure/appservice/hybridConnection.go index b4fa56d28e..63217898ed 100644 --- a/sdk/go/azure/appservice/hybridConnection.go +++ b/sdk/go/azure/appservice/hybridConnection.go @@ -14,7 +14,7 @@ import ( // Manages an App Service Hybrid Connection for an existing App Service, Relay and Service Bus. // -// !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `appservice.FunctionAppHybridConnection` resources instead. +// !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `appservice.FunctionAppHybridConnection` and `appservice.WebAppHybridConnection` resources instead. // // ## Example Usage // diff --git a/sdk/go/azure/appservice/slot.go b/sdk/go/azure/appservice/slot.go index 4360565f52..86bf8cb6ee 100644 --- a/sdk/go/azure/appservice/slot.go +++ b/sdk/go/azure/appservice/slot.go @@ -14,7 +14,7 @@ import ( // Manages an App Service Slot (within an App Service). // -// !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `appservice.LinuxWebAppSlot` resources instead. +// !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `appservice.LinuxWebAppSlot` and `appservice.WindowsWebAppSlot` resources instead. // // > **Note:** When using Slots - the `appSettings`, `connectionString` and `siteConfig` blocks on the `appservice.AppService` resource will be overwritten when promoting a Slot using the `appservice.ActiveSlot` resource. // diff --git a/sdk/go/azure/cdn/endpoint.go b/sdk/go/azure/cdn/endpoint.go index 323a5d7f93..273f6e0146 100644 --- a/sdk/go/azure/cdn/endpoint.go +++ b/sdk/go/azure/cdn/endpoint.go @@ -14,7 +14,7 @@ import ( // A CDN Endpoint is the entity within a CDN Profile containing configuration information regarding caching behaviours and origins. The CDN Endpoint is exposed using the URL format `.azureedge.net`. // -// !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue as the necessary changes are identified. +// !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue - however unfortunately this may necessitate a breaking change to the CDN and FrontDoor resources, more information will be posted in the GitHub issue as the necessary changes are identified. // // ## Example Usage // diff --git a/sdk/go/azure/cdn/profile.go b/sdk/go/azure/cdn/profile.go index f0b533dbb7..4a2a614d1a 100644 --- a/sdk/go/azure/cdn/profile.go +++ b/sdk/go/azure/cdn/profile.go @@ -14,7 +14,7 @@ import ( // Manages a CDN Profile to create a collection of CDN Endpoints. // -// !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue as the necessary changes are identified. +// !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue - however unfortunately this may necessitate a breaking change to the CDN and FrontDoor resources, more information will be posted in the GitHub issue as the necessary changes are identified. // // ## Example Usage // diff --git a/sdk/go/azure/compute/pulumiTypes.go b/sdk/go/azure/compute/pulumiTypes.go index a2c66d260e..cfb4f03b7e 100644 --- a/sdk/go/azure/compute/pulumiTypes.go +++ b/sdk/go/azure/compute/pulumiTypes.go @@ -11468,7 +11468,7 @@ type OrchestratedVirtualMachineScaleSetOsProfileWindowsConfiguration struct { EnableAutomaticUpdates *bool `pulumi:"enableAutomaticUpdates"` // Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch). // - // > **Note:** Hotpatching can only be enabled if the `patchMode` is set to `AutomaticByPlatform`, the `provisionVmAgent` is set to `true`, your `sourceImageReference` references a hotpatching enabled image, the VM's `skuName` is set to a Azure generation 2 directory within the GitHub Repository. + // > **Note:** Hotpatching can only be enabled if the `patchMode` is set to `AutomaticByPlatform`, the `provisionVmAgent` is set to `true`, your `sourceImageReference` references a hotpatching enabled image, the VM's `skuName` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM SKU and the `extension` contains an application health extension. An example of how to correctly configure a Virtual Machine Scale Set to provision a Windows Virtual Machine with hotpatching enabled can be found in the `./examples/orchestrated-vm-scale-set/hotpatching-enabled` directory within the GitHub Repository. HotpatchingEnabled *bool `pulumi:"hotpatchingEnabled"` // Specifies the mode of VM Guest Patching for the virtual machines that are associated to the Virtual Machine Scale Set. Possible values are `AutomaticByPlatform` or `ImageDefault`. Defaults to `ImageDefault`. // @@ -11512,7 +11512,7 @@ type OrchestratedVirtualMachineScaleSetOsProfileWindowsConfigurationArgs struct EnableAutomaticUpdates pulumi.BoolPtrInput `pulumi:"enableAutomaticUpdates"` // Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch). // - // > **Note:** Hotpatching can only be enabled if the `patchMode` is set to `AutomaticByPlatform`, the `provisionVmAgent` is set to `true`, your `sourceImageReference` references a hotpatching enabled image, the VM's `skuName` is set to a Azure generation 2 directory within the GitHub Repository. + // > **Note:** Hotpatching can only be enabled if the `patchMode` is set to `AutomaticByPlatform`, the `provisionVmAgent` is set to `true`, your `sourceImageReference` references a hotpatching enabled image, the VM's `skuName` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM SKU and the `extension` contains an application health extension. An example of how to correctly configure a Virtual Machine Scale Set to provision a Windows Virtual Machine with hotpatching enabled can be found in the `./examples/orchestrated-vm-scale-set/hotpatching-enabled` directory within the GitHub Repository. HotpatchingEnabled pulumi.BoolPtrInput `pulumi:"hotpatchingEnabled"` // Specifies the mode of VM Guest Patching for the virtual machines that are associated to the Virtual Machine Scale Set. Possible values are `AutomaticByPlatform` or `ImageDefault`. Defaults to `ImageDefault`. // @@ -11642,7 +11642,7 @@ func (o OrchestratedVirtualMachineScaleSetOsProfileWindowsConfigurationOutput) E // Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch). // -// > **Note:** Hotpatching can only be enabled if the `patchMode` is set to `AutomaticByPlatform`, the `provisionVmAgent` is set to `true`, your `sourceImageReference` references a hotpatching enabled image, the VM's `skuName` is set to a Azure generation 2 directory within the GitHub Repository. +// > **Note:** Hotpatching can only be enabled if the `patchMode` is set to `AutomaticByPlatform`, the `provisionVmAgent` is set to `true`, your `sourceImageReference` references a hotpatching enabled image, the VM's `skuName` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM SKU and the `extension` contains an application health extension. An example of how to correctly configure a Virtual Machine Scale Set to provision a Windows Virtual Machine with hotpatching enabled can be found in the `./examples/orchestrated-vm-scale-set/hotpatching-enabled` directory within the GitHub Repository. func (o OrchestratedVirtualMachineScaleSetOsProfileWindowsConfigurationOutput) HotpatchingEnabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v OrchestratedVirtualMachineScaleSetOsProfileWindowsConfiguration) *bool { return v.HotpatchingEnabled @@ -11767,7 +11767,7 @@ func (o OrchestratedVirtualMachineScaleSetOsProfileWindowsConfigurationPtrOutput // Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch). // -// > **Note:** Hotpatching can only be enabled if the `patchMode` is set to `AutomaticByPlatform`, the `provisionVmAgent` is set to `true`, your `sourceImageReference` references a hotpatching enabled image, the VM's `skuName` is set to a Azure generation 2 directory within the GitHub Repository. +// > **Note:** Hotpatching can only be enabled if the `patchMode` is set to `AutomaticByPlatform`, the `provisionVmAgent` is set to `true`, your `sourceImageReference` references a hotpatching enabled image, the VM's `skuName` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM SKU and the `extension` contains an application health extension. An example of how to correctly configure a Virtual Machine Scale Set to provision a Windows Virtual Machine with hotpatching enabled can be found in the `./examples/orchestrated-vm-scale-set/hotpatching-enabled` directory within the GitHub Repository. func (o OrchestratedVirtualMachineScaleSetOsProfileWindowsConfigurationPtrOutput) HotpatchingEnabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v *OrchestratedVirtualMachineScaleSetOsProfileWindowsConfiguration) *bool { if v == nil { diff --git a/sdk/go/azure/compute/windowsVirtualMachine.go b/sdk/go/azure/compute/windowsVirtualMachine.go index f606e196c4..816b60c1e3 100644 --- a/sdk/go/azure/compute/windowsVirtualMachine.go +++ b/sdk/go/azure/compute/windowsVirtualMachine.go @@ -178,7 +178,7 @@ type WindowsVirtualMachine struct { GalleryApplications WindowsVirtualMachineGalleryApplicationArrayOutput `pulumi:"galleryApplications"` // Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch). // - // > **NOTE:** Hotpatching can only be enabled if the `patchMode` is set to `AutomaticByPlatform`, the `provisionVmAgent` is set to `true`, your `sourceImageReference` references a hotpatching enabled image, and the VM's `size` is set to a Azure generation 2 directory within the GitHub Repository. + // > **NOTE:** Hotpatching can only be enabled if the `patchMode` is set to `AutomaticByPlatform`, the `provisionVmAgent` is set to `true`, your `sourceImageReference` references a hotpatching enabled image, and the VM's `size` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM. An example of how to correctly configure a Windows Virtual Machine to use the `hotpatchingEnabled` field can be found in the `./examples/virtual-machines/windows/hotpatching-enabled` directory within the GitHub Repository. HotpatchingEnabled pulumi.BoolPtrOutput `pulumi:"hotpatchingEnabled"` // An `identity` block as defined below. Identity WindowsVirtualMachineIdentityPtrOutput `pulumi:"identity"` @@ -383,7 +383,7 @@ type windowsVirtualMachineState struct { GalleryApplications []WindowsVirtualMachineGalleryApplication `pulumi:"galleryApplications"` // Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch). // - // > **NOTE:** Hotpatching can only be enabled if the `patchMode` is set to `AutomaticByPlatform`, the `provisionVmAgent` is set to `true`, your `sourceImageReference` references a hotpatching enabled image, and the VM's `size` is set to a Azure generation 2 directory within the GitHub Repository. + // > **NOTE:** Hotpatching can only be enabled if the `patchMode` is set to `AutomaticByPlatform`, the `provisionVmAgent` is set to `true`, your `sourceImageReference` references a hotpatching enabled image, and the VM's `size` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM. An example of how to correctly configure a Windows Virtual Machine to use the `hotpatchingEnabled` field can be found in the `./examples/virtual-machines/windows/hotpatching-enabled` directory within the GitHub Repository. HotpatchingEnabled *bool `pulumi:"hotpatchingEnabled"` // An `identity` block as defined below. Identity *WindowsVirtualMachineIdentity `pulumi:"identity"` @@ -530,7 +530,7 @@ type WindowsVirtualMachineState struct { GalleryApplications WindowsVirtualMachineGalleryApplicationArrayInput // Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch). // - // > **NOTE:** Hotpatching can only be enabled if the `patchMode` is set to `AutomaticByPlatform`, the `provisionVmAgent` is set to `true`, your `sourceImageReference` references a hotpatching enabled image, and the VM's `size` is set to a Azure generation 2 directory within the GitHub Repository. + // > **NOTE:** Hotpatching can only be enabled if the `patchMode` is set to `AutomaticByPlatform`, the `provisionVmAgent` is set to `true`, your `sourceImageReference` references a hotpatching enabled image, and the VM's `size` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM. An example of how to correctly configure a Windows Virtual Machine to use the `hotpatchingEnabled` field can be found in the `./examples/virtual-machines/windows/hotpatching-enabled` directory within the GitHub Repository. HotpatchingEnabled pulumi.BoolPtrInput // An `identity` block as defined below. Identity WindowsVirtualMachineIdentityPtrInput @@ -681,7 +681,7 @@ type windowsVirtualMachineArgs struct { GalleryApplications []WindowsVirtualMachineGalleryApplication `pulumi:"galleryApplications"` // Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch). // - // > **NOTE:** Hotpatching can only be enabled if the `patchMode` is set to `AutomaticByPlatform`, the `provisionVmAgent` is set to `true`, your `sourceImageReference` references a hotpatching enabled image, and the VM's `size` is set to a Azure generation 2 directory within the GitHub Repository. + // > **NOTE:** Hotpatching can only be enabled if the `patchMode` is set to `AutomaticByPlatform`, the `provisionVmAgent` is set to `true`, your `sourceImageReference` references a hotpatching enabled image, and the VM's `size` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM. An example of how to correctly configure a Windows Virtual Machine to use the `hotpatchingEnabled` field can be found in the `./examples/virtual-machines/windows/hotpatching-enabled` directory within the GitHub Repository. HotpatchingEnabled *bool `pulumi:"hotpatchingEnabled"` // An `identity` block as defined below. Identity *WindowsVirtualMachineIdentity `pulumi:"identity"` @@ -819,7 +819,7 @@ type WindowsVirtualMachineArgs struct { GalleryApplications WindowsVirtualMachineGalleryApplicationArrayInput // Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch). // - // > **NOTE:** Hotpatching can only be enabled if the `patchMode` is set to `AutomaticByPlatform`, the `provisionVmAgent` is set to `true`, your `sourceImageReference` references a hotpatching enabled image, and the VM's `size` is set to a Azure generation 2 directory within the GitHub Repository. + // > **NOTE:** Hotpatching can only be enabled if the `patchMode` is set to `AutomaticByPlatform`, the `provisionVmAgent` is set to `true`, your `sourceImageReference` references a hotpatching enabled image, and the VM's `size` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM. An example of how to correctly configure a Windows Virtual Machine to use the `hotpatchingEnabled` field can be found in the `./examples/virtual-machines/windows/hotpatching-enabled` directory within the GitHub Repository. HotpatchingEnabled pulumi.BoolPtrInput // An `identity` block as defined below. Identity WindowsVirtualMachineIdentityPtrInput @@ -1110,7 +1110,7 @@ func (o WindowsVirtualMachineOutput) GalleryApplications() WindowsVirtualMachine // Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch). // -// > **NOTE:** Hotpatching can only be enabled if the `patchMode` is set to `AutomaticByPlatform`, the `provisionVmAgent` is set to `true`, your `sourceImageReference` references a hotpatching enabled image, and the VM's `size` is set to a Azure generation 2 directory within the GitHub Repository. +// > **NOTE:** Hotpatching can only be enabled if the `patchMode` is set to `AutomaticByPlatform`, the `provisionVmAgent` is set to `true`, your `sourceImageReference` references a hotpatching enabled image, and the VM's `size` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM. An example of how to correctly configure a Windows Virtual Machine to use the `hotpatchingEnabled` field can be found in the `./examples/virtual-machines/windows/hotpatching-enabled` directory within the GitHub Repository. func (o WindowsVirtualMachineOutput) HotpatchingEnabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v *WindowsVirtualMachine) pulumi.BoolPtrOutput { return v.HotpatchingEnabled }).(pulumi.BoolPtrOutput) } diff --git a/sdk/go/azure/frontdoor/customHttpsConfiguration.go b/sdk/go/azure/frontdoor/customHttpsConfiguration.go index d1796d62b0..b296f42ee9 100644 --- a/sdk/go/azure/frontdoor/customHttpsConfiguration.go +++ b/sdk/go/azure/frontdoor/customHttpsConfiguration.go @@ -22,7 +22,7 @@ import ( // // !> **BREAKING CHANGE:** The `resourceGroupName` field has been removed as of the `v2.58.0` provider release. If the `resourceGroupName` field has been defined in your current `frontdoor.CustomHttpsConfiguration` resource configuration file please remove it else you will receive a `An argument named "resourceGroupName" is not expected here.` error. If your pre-existing Front Door instance contained inline `customHttpsConfiguration` blocks there are additional steps that will need to be completed to successfully migrate your Front Door onto the `v2.58.0` provider which can be found in this guide. // -// !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue as the necessary changes are identified. +// !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue - however unfortunately this may necessitate a breaking change to the CDN and Front Door resources, more information will be posted in the GitHub issue as the necessary changes are identified. // // ```go // package main diff --git a/sdk/go/azure/frontdoor/firewallPolicy.go b/sdk/go/azure/frontdoor/firewallPolicy.go index e8b1436a17..eb8c355b8a 100644 --- a/sdk/go/azure/frontdoor/firewallPolicy.go +++ b/sdk/go/azure/frontdoor/firewallPolicy.go @@ -16,7 +16,7 @@ import ( // // Manages an Azure Front Door (classic) Web Application Firewall Policy instance. // -// !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue as the necessary changes are identified. +// !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue - however unfortunately this may necessitate a breaking change to the CDN and Front Door resources, more information will be posted in the GitHub issue as the necessary changes are identified. // // ## Example Usage // diff --git a/sdk/go/azure/logicapps/triggerCustom.go b/sdk/go/azure/logicapps/triggerCustom.go index 359801273a..9302387de6 100644 --- a/sdk/go/azure/logicapps/triggerCustom.go +++ b/sdk/go/azure/logicapps/triggerCustom.go @@ -79,7 +79,7 @@ type TriggerCustom struct { // Specifies the JSON Blob defining the Body of this Custom Trigger. Body pulumi.StringOutput `pulumi:"body"` - // The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group. + // The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitorActionGroup and security_center_automation. CallbackUrl pulumi.StringOutput `pulumi:"callbackUrl"` // Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created. LogicAppId pulumi.StringOutput `pulumi:"logicAppId"` @@ -127,7 +127,7 @@ func GetTriggerCustom(ctx *pulumi.Context, type triggerCustomState struct { // Specifies the JSON Blob defining the Body of this Custom Trigger. Body *string `pulumi:"body"` - // The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group. + // The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitorActionGroup and security_center_automation. CallbackUrl *string `pulumi:"callbackUrl"` // Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created. LogicAppId *string `pulumi:"logicAppId"` @@ -140,7 +140,7 @@ type triggerCustomState struct { type TriggerCustomState struct { // Specifies the JSON Blob defining the Body of this Custom Trigger. Body pulumi.StringPtrInput - // The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group. + // The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitorActionGroup and security_center_automation. CallbackUrl pulumi.StringPtrInput // Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created. LogicAppId pulumi.StringPtrInput @@ -269,7 +269,7 @@ func (o TriggerCustomOutput) Body() pulumi.StringOutput { return o.ApplyT(func(v *TriggerCustom) pulumi.StringOutput { return v.Body }).(pulumi.StringOutput) } -// The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group. +// The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitorActionGroup and security_center_automation. func (o TriggerCustomOutput) CallbackUrl() pulumi.StringOutput { return o.ApplyT(func(v *TriggerCustom) pulumi.StringOutput { return v.CallbackUrl }).(pulumi.StringOutput) } diff --git a/sdk/go/azure/logicapps/triggerHttpRequest.go b/sdk/go/azure/logicapps/triggerHttpRequest.go index 5e358ad884..94f225595c 100644 --- a/sdk/go/azure/logicapps/triggerHttpRequest.go +++ b/sdk/go/azure/logicapps/triggerHttpRequest.go @@ -78,7 +78,7 @@ import ( type TriggerHttpRequest struct { pulumi.CustomResourceState - // The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group. + // The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitorActionGroup and security_center_automation. CallbackUrl pulumi.StringOutput `pulumi:"callbackUrl"` // Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created. LogicAppId pulumi.StringOutput `pulumi:"logicAppId"` @@ -132,7 +132,7 @@ func GetTriggerHttpRequest(ctx *pulumi.Context, // Input properties used for looking up and filtering TriggerHttpRequest resources. type triggerHttpRequestState struct { - // The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group. + // The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitorActionGroup and security_center_automation. CallbackUrl *string `pulumi:"callbackUrl"` // Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created. LogicAppId *string `pulumi:"logicAppId"` @@ -151,7 +151,7 @@ type triggerHttpRequestState struct { } type TriggerHttpRequestState struct { - // The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group. + // The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitorActionGroup and security_center_automation. CallbackUrl pulumi.StringPtrInput // Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created. LogicAppId pulumi.StringPtrInput @@ -295,7 +295,7 @@ func (o TriggerHttpRequestOutput) ToTriggerHttpRequestOutputWithContext(ctx cont return o } -// The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group. +// The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitorActionGroup and security_center_automation. func (o TriggerHttpRequestOutput) CallbackUrl() pulumi.StringOutput { return o.ApplyT(func(v *TriggerHttpRequest) pulumi.StringOutput { return v.CallbackUrl }).(pulumi.StringOutput) } diff --git a/sdk/java/src/main/java/com/pulumi/azure/appservice/AppService.java b/sdk/java/src/main/java/com/pulumi/azure/appservice/AppService.java index 3a14bb415d..d1f43fa178 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/appservice/AppService.java +++ b/sdk/java/src/main/java/com/pulumi/azure/appservice/AppService.java @@ -29,7 +29,7 @@ /** * Manages an App Service (within an App Service Plan). * - * !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.appservice.LinuxWebApp` resources instead. + * !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.appservice.LinuxWebApp` and `azure.appservice.WindowsWebApp` resources instead. * * > **Note:** When using Slots - the `app_settings`, `connection_string` and `site_config` blocks on the `azure.appservice.AppService` resource will be overwritten when promoting a Slot using the `azure.appservice.ActiveSlot` resource. * diff --git a/sdk/java/src/main/java/com/pulumi/azure/appservice/AppserviceFunctions.java b/sdk/java/src/main/java/com/pulumi/azure/appservice/AppserviceFunctions.java index 0d258b8643..ff01ce6781 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/appservice/AppserviceFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/azure/appservice/AppserviceFunctions.java @@ -59,7 +59,7 @@ public final class AppserviceFunctions { /** * Use this data source to access information about an existing App Service. * - * !> **Note:** The `azure.appservice.AppService` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `azure.appservice.LinuxWebApp` data sources instead. + * !> **Note:** The `azure.appservice.AppService` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `azure.appservice.LinuxWebApp` and `azure.appservice.WindowsWebApp` data sources instead. * * ## Example Usage * @@ -105,7 +105,7 @@ public static Output getAppService(GetAppServiceArgs args) /** * Use this data source to access information about an existing App Service. * - * !> **Note:** The `azure.appservice.AppService` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `azure.appservice.LinuxWebApp` data sources instead. + * !> **Note:** The `azure.appservice.AppService` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `azure.appservice.LinuxWebApp` and `azure.appservice.WindowsWebApp` data sources instead. * * ## Example Usage * @@ -151,7 +151,7 @@ public static CompletableFuture getAppServicePlain(GetAppSe /** * Use this data source to access information about an existing App Service. * - * !> **Note:** The `azure.appservice.AppService` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `azure.appservice.LinuxWebApp` data sources instead. + * !> **Note:** The `azure.appservice.AppService` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `azure.appservice.LinuxWebApp` and `azure.appservice.WindowsWebApp` data sources instead. * * ## Example Usage * @@ -197,7 +197,7 @@ public static Output getAppService(GetAppServiceArgs args, /** * Use this data source to access information about an existing App Service. * - * !> **Note:** The `azure.appservice.AppService` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `azure.appservice.LinuxWebApp` data sources instead. + * !> **Note:** The `azure.appservice.AppService` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `azure.appservice.LinuxWebApp` and `azure.appservice.WindowsWebApp` data sources instead. * * ## Example Usage * @@ -1131,7 +1131,7 @@ public static CompletableFuture getEnvironmentV3Plain(Ge /** * Use this data source to access information about a Function App. * - * !> **Note:** The `azure.appservice.FunctionApp` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `azure.appservice.LinuxFunctionApp` data sources instead. + * !> **Note:** The `azure.appservice.FunctionApp` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `azure.appservice.LinuxFunctionApp` and `azure.appservice.WindowsFunctionApp` data sources instead. * * ## Example Usage * @@ -1176,7 +1176,7 @@ public static Output getFunctionApp(GetFunctionAppArgs arg /** * Use this data source to access information about a Function App. * - * !> **Note:** The `azure.appservice.FunctionApp` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `azure.appservice.LinuxFunctionApp` data sources instead. + * !> **Note:** The `azure.appservice.FunctionApp` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `azure.appservice.LinuxFunctionApp` and `azure.appservice.WindowsFunctionApp` data sources instead. * * ## Example Usage * @@ -1221,7 +1221,7 @@ public static CompletableFuture getFunctionAppPlain(GetFun /** * Use this data source to access information about a Function App. * - * !> **Note:** The `azure.appservice.FunctionApp` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `azure.appservice.LinuxFunctionApp` data sources instead. + * !> **Note:** The `azure.appservice.FunctionApp` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `azure.appservice.LinuxFunctionApp` and `azure.appservice.WindowsFunctionApp` data sources instead. * * ## Example Usage * @@ -1266,7 +1266,7 @@ public static Output getFunctionApp(GetFunctionAppArgs arg /** * Use this data source to access information about a Function App. * - * !> **Note:** The `azure.appservice.FunctionApp` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `azure.appservice.LinuxFunctionApp` data sources instead. + * !> **Note:** The `azure.appservice.FunctionApp` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `azure.appservice.LinuxFunctionApp` and `azure.appservice.WindowsFunctionApp` data sources instead. * * ## Example Usage * diff --git a/sdk/java/src/main/java/com/pulumi/azure/appservice/FunctionApp.java b/sdk/java/src/main/java/com/pulumi/azure/appservice/FunctionApp.java index ce0a860981..64388fefec 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/appservice/FunctionApp.java +++ b/sdk/java/src/main/java/com/pulumi/azure/appservice/FunctionApp.java @@ -27,7 +27,7 @@ /** * Manages a Function App. * - * !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.appservice.LinuxFunctionApp` resources instead. + * !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.appservice.LinuxFunctionApp` and `azure.appservice.WindowsFunctionApp` resources instead. * * > **Note:** To connect an Azure Function App and a subnet within the same region `azure.appservice.VirtualNetworkSwiftConnection` can be used. * For an example, check the `azure.appservice.VirtualNetworkSwiftConnection` documentation. diff --git a/sdk/java/src/main/java/com/pulumi/azure/appservice/FunctionAppSlot.java b/sdk/java/src/main/java/com/pulumi/azure/appservice/FunctionAppSlot.java index 93460e5572..26ec627c12 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/appservice/FunctionAppSlot.java +++ b/sdk/java/src/main/java/com/pulumi/azure/appservice/FunctionAppSlot.java @@ -26,7 +26,7 @@ /** * Manages a Function App deployment Slot. * - * !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.appservice.LinuxFunctionAppSlot` resources instead. + * !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.appservice.LinuxFunctionAppSlot` and `azure.appservice.WindowsFunctionAppSlot` resources instead. * * ## Example Usage * diff --git a/sdk/java/src/main/java/com/pulumi/azure/appservice/HybridConnection.java b/sdk/java/src/main/java/com/pulumi/azure/appservice/HybridConnection.java index 99423edf76..45e5e6b88e 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/appservice/HybridConnection.java +++ b/sdk/java/src/main/java/com/pulumi/azure/appservice/HybridConnection.java @@ -19,7 +19,7 @@ /** * Manages an App Service Hybrid Connection for an existing App Service, Relay and Service Bus. * - * !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.appservice.FunctionAppHybridConnection` resources instead. + * !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.appservice.FunctionAppHybridConnection` and `azure.appservice.WebAppHybridConnection` resources instead. * * ## Example Usage * diff --git a/sdk/java/src/main/java/com/pulumi/azure/appservice/Slot.java b/sdk/java/src/main/java/com/pulumi/azure/appservice/Slot.java index ab3f5786c4..542b5b1af1 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/appservice/Slot.java +++ b/sdk/java/src/main/java/com/pulumi/azure/appservice/Slot.java @@ -27,7 +27,7 @@ /** * Manages an App Service Slot (within an App Service). * - * !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.appservice.LinuxWebAppSlot` resources instead. + * !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.appservice.LinuxWebAppSlot` and `azure.appservice.WindowsWebAppSlot` resources instead. * * > **Note:** When using Slots - the `app_settings`, `connection_string` and `site_config` blocks on the `azure.appservice.AppService` resource will be overwritten when promoting a Slot using the `azure.appservice.ActiveSlot` resource. * diff --git a/sdk/java/src/main/java/com/pulumi/azure/cdn/Endpoint.java b/sdk/java/src/main/java/com/pulumi/azure/cdn/Endpoint.java index e01664d9fa..4b932a6cb6 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/cdn/Endpoint.java +++ b/sdk/java/src/main/java/com/pulumi/azure/cdn/Endpoint.java @@ -24,7 +24,7 @@ /** * A CDN Endpoint is the entity within a CDN Profile containing configuration information regarding caching behaviours and origins. The CDN Endpoint is exposed using the URL format `<endpointname>.azureedge.net`. * - * !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue as the necessary changes are identified. + * !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue - however unfortunately this may necessitate a breaking change to the CDN and FrontDoor resources, more information will be posted in the GitHub issue as the necessary changes are identified. * * ## Example Usage * diff --git a/sdk/java/src/main/java/com/pulumi/azure/cdn/Profile.java b/sdk/java/src/main/java/com/pulumi/azure/cdn/Profile.java index 62a7ca26eb..6c41ef0aa8 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/cdn/Profile.java +++ b/sdk/java/src/main/java/com/pulumi/azure/cdn/Profile.java @@ -18,7 +18,7 @@ /** * Manages a CDN Profile to create a collection of CDN Endpoints. * - * !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue as the necessary changes are identified. + * !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue - however unfortunately this may necessitate a breaking change to the CDN and FrontDoor resources, more information will be posted in the GitHub issue as the necessary changes are identified. * * ## Example Usage * diff --git a/sdk/java/src/main/java/com/pulumi/azure/compute/WindowsVirtualMachine.java b/sdk/java/src/main/java/com/pulumi/azure/compute/WindowsVirtualMachine.java index 04b8022084..d794af6c3b 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/compute/WindowsVirtualMachine.java +++ b/sdk/java/src/main/java/com/pulumi/azure/compute/WindowsVirtualMachine.java @@ -450,7 +450,7 @@ public Output>> galleryAp /** * Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch). * - * > **NOTE:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, and the VM's `size` is set to a Azure generation 2 directory within the GitHub Repository. + * > **NOTE:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, and the VM's `size` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM. An example of how to correctly configure a Windows Virtual Machine to use the `hotpatching_enabled` field can be found in the `./examples/virtual-machines/windows/hotpatching-enabled` directory within the GitHub Repository. * */ @Export(name="hotpatchingEnabled", refs={Boolean.class}, tree="[0]") @@ -459,7 +459,7 @@ public Output>> galleryAp /** * @return Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch). * - * > **NOTE:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, and the VM's `size` is set to a Azure generation 2 directory within the GitHub Repository. + * > **NOTE:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, and the VM's `size` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM. An example of how to correctly configure a Windows Virtual Machine to use the `hotpatching_enabled` field can be found in the `./examples/virtual-machines/windows/hotpatching-enabled` directory within the GitHub Repository. * */ public Output> hotpatchingEnabled() { diff --git a/sdk/java/src/main/java/com/pulumi/azure/compute/WindowsVirtualMachineArgs.java b/sdk/java/src/main/java/com/pulumi/azure/compute/WindowsVirtualMachineArgs.java index c1f2665be7..eed6e61e9f 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/compute/WindowsVirtualMachineArgs.java +++ b/sdk/java/src/main/java/com/pulumi/azure/compute/WindowsVirtualMachineArgs.java @@ -352,7 +352,7 @@ public Optional>> galle /** * Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch). * - * > **NOTE:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, and the VM's `size` is set to a Azure generation 2 directory within the GitHub Repository. + * > **NOTE:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, and the VM's `size` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM. An example of how to correctly configure a Windows Virtual Machine to use the `hotpatching_enabled` field can be found in the `./examples/virtual-machines/windows/hotpatching-enabled` directory within the GitHub Repository. * */ @Import(name="hotpatchingEnabled") @@ -361,7 +361,7 @@ public Optional>> galle /** * @return Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch). * - * > **NOTE:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, and the VM's `size` is set to a Azure generation 2 directory within the GitHub Repository. + * > **NOTE:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, and the VM's `size` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM. An example of how to correctly configure a Windows Virtual Machine to use the `hotpatching_enabled` field can be found in the `./examples/virtual-machines/windows/hotpatching-enabled` directory within the GitHub Repository. * */ public Optional> hotpatchingEnabled() { @@ -1409,7 +1409,7 @@ public Builder galleryApplications(WindowsVirtualMachineGalleryApplicationArgs.. /** * @param hotpatchingEnabled Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch). * - * > **NOTE:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, and the VM's `size` is set to a Azure generation 2 directory within the GitHub Repository. + * > **NOTE:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, and the VM's `size` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM. An example of how to correctly configure a Windows Virtual Machine to use the `hotpatching_enabled` field can be found in the `./examples/virtual-machines/windows/hotpatching-enabled` directory within the GitHub Repository. * * @return builder * @@ -1422,7 +1422,7 @@ public Builder hotpatchingEnabled(@Nullable Output hotpatchingEnabled) /** * @param hotpatchingEnabled Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch). * - * > **NOTE:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, and the VM's `size` is set to a Azure generation 2 directory within the GitHub Repository. + * > **NOTE:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, and the VM's `size` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM. An example of how to correctly configure a Windows Virtual Machine to use the `hotpatching_enabled` field can be found in the `./examples/virtual-machines/windows/hotpatching-enabled` directory within the GitHub Repository. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/azure/compute/inputs/OrchestratedVirtualMachineScaleSetOsProfileWindowsConfigurationArgs.java b/sdk/java/src/main/java/com/pulumi/azure/compute/inputs/OrchestratedVirtualMachineScaleSetOsProfileWindowsConfigurationArgs.java index 369255d083..f894ad2807 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/compute/inputs/OrchestratedVirtualMachineScaleSetOsProfileWindowsConfigurationArgs.java +++ b/sdk/java/src/main/java/com/pulumi/azure/compute/inputs/OrchestratedVirtualMachineScaleSetOsProfileWindowsConfigurationArgs.java @@ -99,7 +99,7 @@ public Optional> enableAutomaticUpdates() { /** * Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch). * - * > **Note:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, the VM's `sku_name` is set to a Azure generation 2 directory within the GitHub Repository. + * > **Note:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, the VM's `sku_name` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM SKU and the `extension` contains an application health extension. An example of how to correctly configure a Virtual Machine Scale Set to provision a Windows Virtual Machine with hotpatching enabled can be found in the `./examples/orchestrated-vm-scale-set/hotpatching-enabled` directory within the GitHub Repository. * */ @Import(name="hotpatchingEnabled") @@ -108,7 +108,7 @@ public Optional> enableAutomaticUpdates() { /** * @return Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch). * - * > **Note:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, the VM's `sku_name` is set to a Azure generation 2 directory within the GitHub Repository. + * > **Note:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, the VM's `sku_name` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM SKU and the `extension` contains an application health extension. An example of how to correctly configure a Virtual Machine Scale Set to provision a Windows Virtual Machine with hotpatching enabled can be found in the `./examples/orchestrated-vm-scale-set/hotpatching-enabled` directory within the GitHub Repository. * */ public Optional> hotpatchingEnabled() { @@ -366,7 +366,7 @@ public Builder enableAutomaticUpdates(Boolean enableAutomaticUpdates) { /** * @param hotpatchingEnabled Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch). * - * > **Note:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, the VM's `sku_name` is set to a Azure generation 2 directory within the GitHub Repository. + * > **Note:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, the VM's `sku_name` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM SKU and the `extension` contains an application health extension. An example of how to correctly configure a Virtual Machine Scale Set to provision a Windows Virtual Machine with hotpatching enabled can be found in the `./examples/orchestrated-vm-scale-set/hotpatching-enabled` directory within the GitHub Repository. * * @return builder * @@ -379,7 +379,7 @@ public Builder hotpatchingEnabled(@Nullable Output hotpatchingEnabled) /** * @param hotpatchingEnabled Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch). * - * > **Note:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, the VM's `sku_name` is set to a Azure generation 2 directory within the GitHub Repository. + * > **Note:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, the VM's `sku_name` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM SKU and the `extension` contains an application health extension. An example of how to correctly configure a Virtual Machine Scale Set to provision a Windows Virtual Machine with hotpatching enabled can be found in the `./examples/orchestrated-vm-scale-set/hotpatching-enabled` directory within the GitHub Repository. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/azure/compute/inputs/WindowsVirtualMachineState.java b/sdk/java/src/main/java/com/pulumi/azure/compute/inputs/WindowsVirtualMachineState.java index 12adecd875..e19a5f0d1a 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/compute/inputs/WindowsVirtualMachineState.java +++ b/sdk/java/src/main/java/com/pulumi/azure/compute/inputs/WindowsVirtualMachineState.java @@ -351,7 +351,7 @@ public Optional>> galle /** * Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch). * - * > **NOTE:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, and the VM's `size` is set to a Azure generation 2 directory within the GitHub Repository. + * > **NOTE:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, and the VM's `size` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM. An example of how to correctly configure a Windows Virtual Machine to use the `hotpatching_enabled` field can be found in the `./examples/virtual-machines/windows/hotpatching-enabled` directory within the GitHub Repository. * */ @Import(name="hotpatchingEnabled") @@ -360,7 +360,7 @@ public Optional>> galle /** * @return Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch). * - * > **NOTE:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, and the VM's `size` is set to a Azure generation 2 directory within the GitHub Repository. + * > **NOTE:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, and the VM's `size` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM. An example of how to correctly configure a Windows Virtual Machine to use the `hotpatching_enabled` field can be found in the `./examples/virtual-machines/windows/hotpatching-enabled` directory within the GitHub Repository. * */ public Optional> hotpatchingEnabled() { @@ -1488,7 +1488,7 @@ public Builder galleryApplications(WindowsVirtualMachineGalleryApplicationArgs.. /** * @param hotpatchingEnabled Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch). * - * > **NOTE:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, and the VM's `size` is set to a Azure generation 2 directory within the GitHub Repository. + * > **NOTE:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, and the VM's `size` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM. An example of how to correctly configure a Windows Virtual Machine to use the `hotpatching_enabled` field can be found in the `./examples/virtual-machines/windows/hotpatching-enabled` directory within the GitHub Repository. * * @return builder * @@ -1501,7 +1501,7 @@ public Builder hotpatchingEnabled(@Nullable Output hotpatchingEnabled) /** * @param hotpatchingEnabled Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch). * - * > **NOTE:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, and the VM's `size` is set to a Azure generation 2 directory within the GitHub Repository. + * > **NOTE:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, and the VM's `size` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM. An example of how to correctly configure a Windows Virtual Machine to use the `hotpatching_enabled` field can be found in the `./examples/virtual-machines/windows/hotpatching-enabled` directory within the GitHub Repository. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/azure/compute/outputs/OrchestratedVirtualMachineScaleSetOsProfileWindowsConfiguration.java b/sdk/java/src/main/java/com/pulumi/azure/compute/outputs/OrchestratedVirtualMachineScaleSetOsProfileWindowsConfiguration.java index a77be4eeda..341b9fc8de 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/compute/outputs/OrchestratedVirtualMachineScaleSetOsProfileWindowsConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/azure/compute/outputs/OrchestratedVirtualMachineScaleSetOsProfileWindowsConfiguration.java @@ -45,7 +45,7 @@ public final class OrchestratedVirtualMachineScaleSetOsProfileWindowsConfigurati /** * @return Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch). * - * > **Note:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, the VM's `sku_name` is set to a Azure generation 2 directory within the GitHub Repository. + * > **Note:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, the VM's `sku_name` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM SKU and the `extension` contains an application health extension. An example of how to correctly configure a Virtual Machine Scale Set to provision a Windows Virtual Machine with hotpatching enabled can be found in the `./examples/orchestrated-vm-scale-set/hotpatching-enabled` directory within the GitHub Repository. * */ private @Nullable Boolean hotpatchingEnabled; @@ -123,7 +123,7 @@ public Optional enableAutomaticUpdates() { /** * @return Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch). * - * > **Note:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, the VM's `sku_name` is set to a Azure generation 2 directory within the GitHub Repository. + * > **Note:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, the VM's `sku_name` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM SKU and the `extension` contains an application health extension. An example of how to correctly configure a Virtual Machine Scale Set to provision a Windows Virtual Machine with hotpatching enabled can be found in the `./examples/orchestrated-vm-scale-set/hotpatching-enabled` directory within the GitHub Repository. * */ public Optional hotpatchingEnabled() { diff --git a/sdk/java/src/main/java/com/pulumi/azure/frontdoor/CustomHttpsConfiguration.java b/sdk/java/src/main/java/com/pulumi/azure/frontdoor/CustomHttpsConfiguration.java index 22981fd715..bd5b706699 100644 --- a/sdk/java/src/main/java/com/pulumi/azure/frontdoor/CustomHttpsConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/azure/frontdoor/CustomHttpsConfiguration.java @@ -27,7 +27,7 @@ * * !> **BREAKING CHANGE:** The `resource_group_name` field has been removed as of the `v2.58.0` provider release. If the `resource_group_name` field has been defined in your current `azure.frontdoor.CustomHttpsConfiguration` resource configuration file please remove it else you will receive a `An argument named "resource_group_name" is not expected here.` error. If your pre-existing Front Door instance contained inline `custom_https_configuration` blocks there are additional steps that will need to be completed to successfully migrate your Front Door onto the `v2.58.0` provider which can be found in this guide. * - * !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue as the necessary changes are identified. + * !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue - however unfortunately this may necessitate a breaking change to the CDN and Front Door resources, more information will be posted in the GitHub issue as the necessary changes are identified. * * <!--Start PulumiCodeChooser --> *
diff --git a/sdk/java/src/main/java/com/pulumi/azure/frontdoor/FirewallPolicy.java b/sdk/java/src/main/java/com/pulumi/azure/frontdoor/FirewallPolicy.java
index 565780d83b..807d50bf6a 100644
--- a/sdk/java/src/main/java/com/pulumi/azure/frontdoor/FirewallPolicy.java
+++ b/sdk/java/src/main/java/com/pulumi/azure/frontdoor/FirewallPolicy.java
@@ -25,7 +25,7 @@
  * 
  * Manages an Azure Front Door (classic) Web Application Firewall Policy instance.
  * 
- * !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue as the necessary changes are identified.
+ * !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue - however unfortunately this may necessitate a breaking change to the CDN and Front Door resources, more information will be posted in the GitHub issue as the necessary changes are identified.
  * 
  * ## Example Usage
  * 
diff --git a/sdk/java/src/main/java/com/pulumi/azure/logicapps/TriggerCustom.java b/sdk/java/src/main/java/com/pulumi/azure/logicapps/TriggerCustom.java
index b7bdf4a64a..ede7b1d343 100644
--- a/sdk/java/src/main/java/com/pulumi/azure/logicapps/TriggerCustom.java
+++ b/sdk/java/src/main/java/com/pulumi/azure/logicapps/TriggerCustom.java
@@ -102,14 +102,14 @@ public Output body() {
         return this.body;
     }
     /**
-     * The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group.
+     * The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group and security_center_automation.
      * 
      */
     @Export(name="callbackUrl", refs={String.class}, tree="[0]")
     private Output callbackUrl;
 
     /**
-     * @return The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group.
+     * @return The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group and security_center_automation.
      * 
      */
     public Output callbackUrl() {
diff --git a/sdk/java/src/main/java/com/pulumi/azure/logicapps/TriggerHttpRequest.java b/sdk/java/src/main/java/com/pulumi/azure/logicapps/TriggerHttpRequest.java
index d83df9ce50..ae8de01a9f 100644
--- a/sdk/java/src/main/java/com/pulumi/azure/logicapps/TriggerHttpRequest.java
+++ b/sdk/java/src/main/java/com/pulumi/azure/logicapps/TriggerHttpRequest.java
@@ -90,14 +90,14 @@
 @ResourceType(type="azure:logicapps/triggerHttpRequest:TriggerHttpRequest")
 public class TriggerHttpRequest extends com.pulumi.resources.CustomResource {
     /**
-     * The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group.
+     * The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group and security_center_automation.
      * 
      */
     @Export(name="callbackUrl", refs={String.class}, tree="[0]")
     private Output callbackUrl;
 
     /**
-     * @return The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group.
+     * @return The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group and security_center_automation.
      * 
      */
     public Output callbackUrl() {
diff --git a/sdk/java/src/main/java/com/pulumi/azure/logicapps/inputs/TriggerCustomState.java b/sdk/java/src/main/java/com/pulumi/azure/logicapps/inputs/TriggerCustomState.java
index cf7f6d6204..9b1ba15808 100644
--- a/sdk/java/src/main/java/com/pulumi/azure/logicapps/inputs/TriggerCustomState.java
+++ b/sdk/java/src/main/java/com/pulumi/azure/logicapps/inputs/TriggerCustomState.java
@@ -31,14 +31,14 @@ public Optional> body() {
     }
 
     /**
-     * The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group.
+     * The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group and security_center_automation.
      * 
      */
     @Import(name="callbackUrl")
     private @Nullable Output callbackUrl;
 
     /**
-     * @return The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group.
+     * @return The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group and security_center_automation.
      * 
      */
     public Optional> callbackUrl() {
@@ -128,7 +128,7 @@ public Builder body(String body) {
         }
 
         /**
-         * @param callbackUrl The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group.
+         * @param callbackUrl The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group and security_center_automation.
          * 
          * @return builder
          * 
@@ -139,7 +139,7 @@ public Builder callbackUrl(@Nullable Output callbackUrl) {
         }
 
         /**
-         * @param callbackUrl The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group.
+         * @param callbackUrl The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group and security_center_automation.
          * 
          * @return builder
          * 
diff --git a/sdk/java/src/main/java/com/pulumi/azure/logicapps/inputs/TriggerHttpRequestState.java b/sdk/java/src/main/java/com/pulumi/azure/logicapps/inputs/TriggerHttpRequestState.java
index 2eb0082044..3cee46cb9d 100644
--- a/sdk/java/src/main/java/com/pulumi/azure/logicapps/inputs/TriggerHttpRequestState.java
+++ b/sdk/java/src/main/java/com/pulumi/azure/logicapps/inputs/TriggerHttpRequestState.java
@@ -16,14 +16,14 @@ public final class TriggerHttpRequestState extends com.pulumi.resources.Resource
     public static final TriggerHttpRequestState Empty = new TriggerHttpRequestState();
 
     /**
-     * The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group.
+     * The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group and security_center_automation.
      * 
      */
     @Import(name="callbackUrl")
     private @Nullable Output callbackUrl;
 
     /**
-     * @return The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group.
+     * @return The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group and security_center_automation.
      * 
      */
     public Optional> callbackUrl() {
@@ -143,7 +143,7 @@ public Builder(TriggerHttpRequestState defaults) {
         }
 
         /**
-         * @param callbackUrl The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group.
+         * @param callbackUrl The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group and security_center_automation.
          * 
          * @return builder
          * 
@@ -154,7 +154,7 @@ public Builder callbackUrl(@Nullable Output callbackUrl) {
         }
 
         /**
-         * @param callbackUrl The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group.
+         * @param callbackUrl The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group and security_center_automation.
          * 
          * @return builder
          * 
diff --git a/sdk/nodejs/appservice/appService.ts b/sdk/nodejs/appservice/appService.ts
index 07e271ef56..5cdacd70ab 100644
--- a/sdk/nodejs/appservice/appService.ts
+++ b/sdk/nodejs/appservice/appService.ts
@@ -9,7 +9,7 @@ import * as utilities from "../utilities";
 /**
  * Manages an App Service (within an App Service Plan).
  *
- * !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.appservice.LinuxWebApp` resources instead.
+ * !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.appservice.LinuxWebApp` and `azure.appservice.WindowsWebApp` resources instead.
  *
  * > **Note:** When using Slots - the `appSettings`, `connectionString` and `siteConfig` blocks on the `azure.appservice.AppService` resource will be overwritten when promoting a Slot using the `azure.appservice.ActiveSlot` resource.
  *
diff --git a/sdk/nodejs/appservice/functionApp.ts b/sdk/nodejs/appservice/functionApp.ts
index 44c2d32a61..41fac28865 100644
--- a/sdk/nodejs/appservice/functionApp.ts
+++ b/sdk/nodejs/appservice/functionApp.ts
@@ -9,7 +9,7 @@ import * as utilities from "../utilities";
 /**
  * Manages a Function App.
  *
- * !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.appservice.LinuxFunctionApp` resources instead.
+ * !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.appservice.LinuxFunctionApp` and `azure.appservice.WindowsFunctionApp` resources instead.
  *
  * > **Note:** To connect an Azure Function App and a subnet within the same region `azure.appservice.VirtualNetworkSwiftConnection` can be used.
  * For an example, check the `azure.appservice.VirtualNetworkSwiftConnection` documentation.
diff --git a/sdk/nodejs/appservice/functionAppSlot.ts b/sdk/nodejs/appservice/functionAppSlot.ts
index b37d573f41..a684e3cf75 100644
--- a/sdk/nodejs/appservice/functionAppSlot.ts
+++ b/sdk/nodejs/appservice/functionAppSlot.ts
@@ -9,7 +9,7 @@ import * as utilities from "../utilities";
 /**
  * Manages a Function App deployment Slot.
  *
- * !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.appservice.LinuxFunctionAppSlot` resources instead.
+ * !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.appservice.LinuxFunctionAppSlot` and `azure.appservice.WindowsFunctionAppSlot` resources instead.
  *
  * ## Example Usage
  *
diff --git a/sdk/nodejs/appservice/getAppService.ts b/sdk/nodejs/appservice/getAppService.ts
index d82a7dfa15..c0fa96d16f 100644
--- a/sdk/nodejs/appservice/getAppService.ts
+++ b/sdk/nodejs/appservice/getAppService.ts
@@ -9,7 +9,7 @@ import * as utilities from "../utilities";
 /**
  * Use this data source to access information about an existing App Service.
  *
- * !> **Note:** The `azure.appservice.AppService` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `azure.appservice.LinuxWebApp` data sources instead.
+ * !> **Note:** The `azure.appservice.AppService` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `azure.appservice.LinuxWebApp` and `azure.appservice.WindowsWebApp` data sources instead.
  *
  * ## Example Usage
  *
@@ -133,7 +133,7 @@ export interface GetAppServiceResult {
 /**
  * Use this data source to access information about an existing App Service.
  *
- * !> **Note:** The `azure.appservice.AppService` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `azure.appservice.LinuxWebApp` data sources instead.
+ * !> **Note:** The `azure.appservice.AppService` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `azure.appservice.LinuxWebApp` and `azure.appservice.WindowsWebApp` data sources instead.
  *
  * ## Example Usage
  *
diff --git a/sdk/nodejs/appservice/getFunctionApp.ts b/sdk/nodejs/appservice/getFunctionApp.ts
index e6301c4ad5..f52e69bf1f 100644
--- a/sdk/nodejs/appservice/getFunctionApp.ts
+++ b/sdk/nodejs/appservice/getFunctionApp.ts
@@ -9,7 +9,7 @@ import * as utilities from "../utilities";
 /**
  * Use this data source to access information about a Function App.
  *
- * !> **Note:** The `azure.appservice.FunctionApp` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `azure.appservice.LinuxFunctionApp` data sources instead.
+ * !> **Note:** The `azure.appservice.FunctionApp` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `azure.appservice.LinuxFunctionApp` and `azure.appservice.WindowsFunctionApp` data sources instead.
  *
  * ## Example Usage
  *
@@ -120,7 +120,7 @@ export interface GetFunctionAppResult {
 /**
  * Use this data source to access information about a Function App.
  *
- * !> **Note:** The `azure.appservice.FunctionApp` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `azure.appservice.LinuxFunctionApp` data sources instead.
+ * !> **Note:** The `azure.appservice.FunctionApp` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `azure.appservice.LinuxFunctionApp` and `azure.appservice.WindowsFunctionApp` data sources instead.
  *
  * ## Example Usage
  *
diff --git a/sdk/nodejs/appservice/hybridConnection.ts b/sdk/nodejs/appservice/hybridConnection.ts
index c7f54692e6..5de3f8bb44 100644
--- a/sdk/nodejs/appservice/hybridConnection.ts
+++ b/sdk/nodejs/appservice/hybridConnection.ts
@@ -7,7 +7,7 @@ import * as utilities from "../utilities";
 /**
  * Manages an App Service Hybrid Connection for an existing App Service, Relay and Service Bus.
  *
- * !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.appservice.FunctionAppHybridConnection` resources instead.
+ * !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.appservice.FunctionAppHybridConnection` and `azure.appservice.WebAppHybridConnection` resources instead.
  *
  * ## Example Usage
  *
diff --git a/sdk/nodejs/appservice/slot.ts b/sdk/nodejs/appservice/slot.ts
index 7e2ebb7523..76f4fd137e 100644
--- a/sdk/nodejs/appservice/slot.ts
+++ b/sdk/nodejs/appservice/slot.ts
@@ -9,7 +9,7 @@ import * as utilities from "../utilities";
 /**
  * Manages an App Service Slot (within an App Service).
  *
- * !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.appservice.LinuxWebAppSlot` resources instead.
+ * !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `azure.appservice.LinuxWebAppSlot` and `azure.appservice.WindowsWebAppSlot` resources instead.
  *
  * > **Note:** When using Slots - the `appSettings`, `connectionString` and `siteConfig` blocks on the `azure.appservice.AppService` resource will be overwritten when promoting a Slot using the `azure.appservice.ActiveSlot` resource.
  *
diff --git a/sdk/nodejs/cdn/endpoint.ts b/sdk/nodejs/cdn/endpoint.ts
index 0993867b75..60dc802ba7 100644
--- a/sdk/nodejs/cdn/endpoint.ts
+++ b/sdk/nodejs/cdn/endpoint.ts
@@ -9,7 +9,7 @@ import * as utilities from "../utilities";
 /**
  * A CDN Endpoint is the entity within a CDN Profile containing configuration information regarding caching behaviours and origins. The CDN Endpoint is exposed using the URL format `.azureedge.net`.
  *
- * !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue as the necessary changes are identified.
+ * !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue - however unfortunately this may necessitate a breaking change to the CDN and FrontDoor resources, more information will be posted in the GitHub issue as the necessary changes are identified.
  *
  * ## Example Usage
  *
diff --git a/sdk/nodejs/cdn/profile.ts b/sdk/nodejs/cdn/profile.ts
index fa483a8a05..f1303edf5a 100644
--- a/sdk/nodejs/cdn/profile.ts
+++ b/sdk/nodejs/cdn/profile.ts
@@ -7,7 +7,7 @@ import * as utilities from "../utilities";
 /**
  * Manages a CDN Profile to create a collection of CDN Endpoints.
  *
- * !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue as the necessary changes are identified.
+ * !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue - however unfortunately this may necessitate a breaking change to the CDN and FrontDoor resources, more information will be posted in the GitHub issue as the necessary changes are identified.
  *
  * ## Example Usage
  *
diff --git a/sdk/nodejs/compute/windowsVirtualMachine.ts b/sdk/nodejs/compute/windowsVirtualMachine.ts
index 2162380359..2b2fba7bbe 100644
--- a/sdk/nodejs/compute/windowsVirtualMachine.ts
+++ b/sdk/nodejs/compute/windowsVirtualMachine.ts
@@ -203,7 +203,7 @@ export class WindowsVirtualMachine extends pulumi.CustomResource {
     /**
      * Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch).
      *
-     * > **NOTE:** Hotpatching can only be enabled if the `patchMode` is set to `AutomaticByPlatform`, the `provisionVmAgent` is set to `true`, your `sourceImageReference` references a hotpatching enabled image, and the VM's `size` is set to a Azure generation 2 directory within the GitHub Repository.
+     * > **NOTE:** Hotpatching can only be enabled if the `patchMode` is set to `AutomaticByPlatform`, the `provisionVmAgent` is set to `true`, your `sourceImageReference` references a hotpatching enabled image, and the VM's `size` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM. An example of how to correctly configure a Windows Virtual Machine to use the `hotpatchingEnabled` field can be found in the `./examples/virtual-machines/windows/hotpatching-enabled` directory within the GitHub Repository.
      */
     public readonly hotpatchingEnabled!: pulumi.Output;
     /**
@@ -621,7 +621,7 @@ export interface WindowsVirtualMachineState {
     /**
      * Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch).
      *
-     * > **NOTE:** Hotpatching can only be enabled if the `patchMode` is set to `AutomaticByPlatform`, the `provisionVmAgent` is set to `true`, your `sourceImageReference` references a hotpatching enabled image, and the VM's `size` is set to a Azure generation 2 directory within the GitHub Repository.
+     * > **NOTE:** Hotpatching can only be enabled if the `patchMode` is set to `AutomaticByPlatform`, the `provisionVmAgent` is set to `true`, your `sourceImageReference` references a hotpatching enabled image, and the VM's `size` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM. An example of how to correctly configure a Windows Virtual Machine to use the `hotpatchingEnabled` field can be found in the `./examples/virtual-machines/windows/hotpatching-enabled` directory within the GitHub Repository.
      */
     hotpatchingEnabled?: pulumi.Input;
     /**
@@ -885,7 +885,7 @@ export interface WindowsVirtualMachineArgs {
     /**
      * Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch).
      *
-     * > **NOTE:** Hotpatching can only be enabled if the `patchMode` is set to `AutomaticByPlatform`, the `provisionVmAgent` is set to `true`, your `sourceImageReference` references a hotpatching enabled image, and the VM's `size` is set to a Azure generation 2 directory within the GitHub Repository.
+     * > **NOTE:** Hotpatching can only be enabled if the `patchMode` is set to `AutomaticByPlatform`, the `provisionVmAgent` is set to `true`, your `sourceImageReference` references a hotpatching enabled image, and the VM's `size` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM. An example of how to correctly configure a Windows Virtual Machine to use the `hotpatchingEnabled` field can be found in the `./examples/virtual-machines/windows/hotpatching-enabled` directory within the GitHub Repository.
      */
     hotpatchingEnabled?: pulumi.Input;
     /**
diff --git a/sdk/nodejs/frontdoor/customHttpsConfiguration.ts b/sdk/nodejs/frontdoor/customHttpsConfiguration.ts
index b913ea9d4c..f377ebbe82 100644
--- a/sdk/nodejs/frontdoor/customHttpsConfiguration.ts
+++ b/sdk/nodejs/frontdoor/customHttpsConfiguration.ts
@@ -17,7 +17,7 @@ import * as utilities from "../utilities";
  *
  * !> **BREAKING CHANGE:** The `resourceGroupName` field has been removed as of the `v2.58.0` provider release. If the `resourceGroupName` field has been defined in your current `azure.frontdoor.CustomHttpsConfiguration` resource configuration file please remove it else you will receive a `An argument named "resourceGroupName" is not expected here.` error. If your pre-existing Front Door instance contained inline `customHttpsConfiguration` blocks there are additional steps that will need to be completed to successfully migrate your Front Door onto the `v2.58.0` provider which can be found in this guide.
  *
- * !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue as the necessary changes are identified.
+ * !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue - however unfortunately this may necessitate a breaking change to the CDN and Front Door resources, more information will be posted in the GitHub issue as the necessary changes are identified.
  *
  * ```typescript
  * import * as pulumi from "@pulumi/pulumi";
diff --git a/sdk/nodejs/frontdoor/firewallPolicy.ts b/sdk/nodejs/frontdoor/firewallPolicy.ts
index 4a111236d1..0fdc31cc82 100644
--- a/sdk/nodejs/frontdoor/firewallPolicy.ts
+++ b/sdk/nodejs/frontdoor/firewallPolicy.ts
@@ -11,7 +11,7 @@ import * as utilities from "../utilities";
  *
  * Manages an Azure Front Door (classic) Web Application Firewall Policy instance.
  *
- * !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue as the necessary changes are identified.
+ * !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue - however unfortunately this may necessitate a breaking change to the CDN and Front Door resources, more information will be posted in the GitHub issue as the necessary changes are identified.
  *
  * ## Example Usage
  *
diff --git a/sdk/nodejs/logicapps/triggerCustom.ts b/sdk/nodejs/logicapps/triggerCustom.ts
index 12ecbe5d83..820077b298 100644
--- a/sdk/nodejs/logicapps/triggerCustom.ts
+++ b/sdk/nodejs/logicapps/triggerCustom.ts
@@ -77,7 +77,7 @@ export class TriggerCustom extends pulumi.CustomResource {
      */
     public readonly body!: pulumi.Output;
     /**
-     * The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group.
+     * The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitorActionGroup and security_center_automation.
      */
     public /*out*/ readonly callbackUrl!: pulumi.Output;
     /**
@@ -135,7 +135,7 @@ export interface TriggerCustomState {
      */
     body?: pulumi.Input;
     /**
-     * The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group.
+     * The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitorActionGroup and security_center_automation.
      */
     callbackUrl?: pulumi.Input;
     /**
diff --git a/sdk/nodejs/logicapps/triggerHttpRequest.ts b/sdk/nodejs/logicapps/triggerHttpRequest.ts
index e8905a8824..e3f6fd68f6 100644
--- a/sdk/nodejs/logicapps/triggerHttpRequest.ts
+++ b/sdk/nodejs/logicapps/triggerHttpRequest.ts
@@ -74,7 +74,7 @@ export class TriggerHttpRequest extends pulumi.CustomResource {
     }
 
     /**
-     * The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group.
+     * The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitorActionGroup and security_center_automation.
      */
     public /*out*/ readonly callbackUrl!: pulumi.Output;
     /**
@@ -146,7 +146,7 @@ export class TriggerHttpRequest extends pulumi.CustomResource {
  */
 export interface TriggerHttpRequestState {
     /**
-     * The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group.
+     * The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitorActionGroup and security_center_automation.
      */
     callbackUrl?: pulumi.Input;
     /**
diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts
index bfb73ee2ad..ca0e41d295 100644
--- a/sdk/nodejs/types/input.ts
+++ b/sdk/nodejs/types/input.ts
@@ -19720,7 +19720,7 @@ export namespace compute {
         /**
          * Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch).
          *
-         * > **Note:** Hotpatching can only be enabled if the `patchMode` is set to `AutomaticByPlatform`, the `provisionVmAgent` is set to `true`, your `sourceImageReference` references a hotpatching enabled image, the VM's `skuName` is set to a Azure generation 2 directory within the GitHub Repository.
+         * > **Note:** Hotpatching can only be enabled if the `patchMode` is set to `AutomaticByPlatform`, the `provisionVmAgent` is set to `true`, your `sourceImageReference` references a hotpatching enabled image, the VM's `skuName` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM SKU and the `extension` contains an application health extension. An example of how to correctly configure a Virtual Machine Scale Set to provision a Windows Virtual Machine with hotpatching enabled can be found in the `./examples/orchestrated-vm-scale-set/hotpatching-enabled` directory within the GitHub Repository.
          */
         hotpatchingEnabled?: pulumi.Input;
         /**
diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts
index 62346b1b39..2a68decafd 100644
--- a/sdk/nodejs/types/output.ts
+++ b/sdk/nodejs/types/output.ts
@@ -26632,7 +26632,7 @@ export namespace compute {
         /**
          * Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch).
          *
-         * > **Note:** Hotpatching can only be enabled if the `patchMode` is set to `AutomaticByPlatform`, the `provisionVmAgent` is set to `true`, your `sourceImageReference` references a hotpatching enabled image, the VM's `skuName` is set to a Azure generation 2 directory within the GitHub Repository.
+         * > **Note:** Hotpatching can only be enabled if the `patchMode` is set to `AutomaticByPlatform`, the `provisionVmAgent` is set to `true`, your `sourceImageReference` references a hotpatching enabled image, the VM's `skuName` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM SKU and the `extension` contains an application health extension. An example of how to correctly configure a Virtual Machine Scale Set to provision a Windows Virtual Machine with hotpatching enabled can be found in the `./examples/orchestrated-vm-scale-set/hotpatching-enabled` directory within the GitHub Repository.
          */
         hotpatchingEnabled?: boolean;
         /**
diff --git a/sdk/python/pulumi_azure/appservice/app_service.py b/sdk/python/pulumi_azure/appservice/app_service.py
index a8c19dd289..2702754859 100644
--- a/sdk/python/pulumi_azure/appservice/app_service.py
+++ b/sdk/python/pulumi_azure/appservice/app_service.py
@@ -813,7 +813,7 @@ def __init__(__self__,
         """
         Manages an App Service (within an App Service Plan).
 
-        !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `appservice.LinuxWebApp` resources instead.
+        !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `appservice.LinuxWebApp` and `appservice.WindowsWebApp` resources instead.
 
         > **Note:** When using Slots - the `app_settings`, `connection_string` and `site_config` blocks on the `appservice.AppService` resource will be overwritten when promoting a Slot using the `appservice.ActiveSlot` resource.
 
@@ -895,7 +895,7 @@ def __init__(__self__,
         """
         Manages an App Service (within an App Service Plan).
 
-        !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `appservice.LinuxWebApp` resources instead.
+        !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `appservice.LinuxWebApp` and `appservice.WindowsWebApp` resources instead.
 
         > **Note:** When using Slots - the `app_settings`, `connection_string` and `site_config` blocks on the `appservice.AppService` resource will be overwritten when promoting a Slot using the `appservice.ActiveSlot` resource.
 
diff --git a/sdk/python/pulumi_azure/appservice/function_app.py b/sdk/python/pulumi_azure/appservice/function_app.py
index 679d1484cc..113d7ac200 100644
--- a/sdk/python/pulumi_azure/appservice/function_app.py
+++ b/sdk/python/pulumi_azure/appservice/function_app.py
@@ -860,7 +860,7 @@ def __init__(__self__,
         """
         Manages a Function App.
 
-        !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `appservice.LinuxFunctionApp` resources instead.
+        !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `appservice.LinuxFunctionApp` and `appservice.WindowsFunctionApp` resources instead.
 
         > **Note:** To connect an Azure Function App and a subnet within the same region `appservice.VirtualNetworkSwiftConnection` can be used.
         For an example, check the `appservice.VirtualNetworkSwiftConnection` documentation.
@@ -1019,7 +1019,7 @@ def __init__(__self__,
         """
         Manages a Function App.
 
-        !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `appservice.LinuxFunctionApp` resources instead.
+        !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `appservice.LinuxFunctionApp` and `appservice.WindowsFunctionApp` resources instead.
 
         > **Note:** To connect an Azure Function App and a subnet within the same region `appservice.VirtualNetworkSwiftConnection` can be used.
         For an example, check the `appservice.VirtualNetworkSwiftConnection` documentation.
diff --git a/sdk/python/pulumi_azure/appservice/function_app_slot.py b/sdk/python/pulumi_azure/appservice/function_app_slot.py
index afaa3f1606..a5c8e74248 100644
--- a/sdk/python/pulumi_azure/appservice/function_app_slot.py
+++ b/sdk/python/pulumi_azure/appservice/function_app_slot.py
@@ -777,7 +777,7 @@ def __init__(__self__,
         """
         Manages a Function App deployment Slot.
 
-        !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `appservice.LinuxFunctionAppSlot` resources instead.
+        !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `appservice.LinuxFunctionAppSlot` and `appservice.WindowsFunctionAppSlot` resources instead.
 
         ## Example Usage
 
@@ -868,7 +868,7 @@ def __init__(__self__,
         """
         Manages a Function App deployment Slot.
 
-        !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `appservice.LinuxFunctionAppSlot` resources instead.
+        !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `appservice.LinuxFunctionAppSlot` and `appservice.WindowsFunctionAppSlot` resources instead.
 
         ## Example Usage
 
diff --git a/sdk/python/pulumi_azure/appservice/get_app_service.py b/sdk/python/pulumi_azure/appservice/get_app_service.py
index 650ecdc0b4..450e547dad 100644
--- a/sdk/python/pulumi_azure/appservice/get_app_service.py
+++ b/sdk/python/pulumi_azure/appservice/get_app_service.py
@@ -290,7 +290,7 @@ def get_app_service(name: Optional[str] = None,
     """
     Use this data source to access information about an existing App Service.
 
-    !> **Note:** The `appservice.AppService` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `appservice.LinuxWebApp` data sources instead.
+    !> **Note:** The `appservice.AppService` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `appservice.LinuxWebApp` and `appservice.WindowsWebApp` data sources instead.
 
     ## Example Usage
 
@@ -344,7 +344,7 @@ def get_app_service_output(name: Optional[pulumi.Input[str]] = None,
     """
     Use this data source to access information about an existing App Service.
 
-    !> **Note:** The `appservice.AppService` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `appservice.LinuxWebApp` data sources instead.
+    !> **Note:** The `appservice.AppService` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `appservice.LinuxWebApp` and `appservice.WindowsWebApp` data sources instead.
 
     ## Example Usage
 
diff --git a/sdk/python/pulumi_azure/appservice/get_function_app.py b/sdk/python/pulumi_azure/appservice/get_function_app.py
index d80d2d9753..67529610d8 100644
--- a/sdk/python/pulumi_azure/appservice/get_function_app.py
+++ b/sdk/python/pulumi_azure/appservice/get_function_app.py
@@ -261,7 +261,7 @@ def get_function_app(name: Optional[str] = None,
     """
     Use this data source to access information about a Function App.
 
-    !> **Note:** The `appservice.FunctionApp` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `appservice.LinuxFunctionApp` data sources instead.
+    !> **Note:** The `appservice.FunctionApp` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `appservice.LinuxFunctionApp` and `appservice.WindowsFunctionApp` data sources instead.
 
     ## Example Usage
 
@@ -314,7 +314,7 @@ def get_function_app_output(name: Optional[pulumi.Input[str]] = None,
     """
     Use this data source to access information about a Function App.
 
-    !> **Note:** The `appservice.FunctionApp` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `appservice.LinuxFunctionApp` data sources instead.
+    !> **Note:** The `appservice.FunctionApp` data source is deprecated in version 3.0 of the AzureRM provider and will be removed in version 4.0. Please use the `appservice.LinuxFunctionApp` and `appservice.WindowsFunctionApp` data sources instead.
 
     ## Example Usage
 
diff --git a/sdk/python/pulumi_azure/appservice/hybrid_connection.py b/sdk/python/pulumi_azure/appservice/hybrid_connection.py
index 886702317d..ec2aa2b519 100644
--- a/sdk/python/pulumi_azure/appservice/hybrid_connection.py
+++ b/sdk/python/pulumi_azure/appservice/hybrid_connection.py
@@ -310,7 +310,7 @@ def __init__(__self__,
         """
         Manages an App Service Hybrid Connection for an existing App Service, Relay and Service Bus.
 
-        !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `appservice.FunctionAppHybridConnection` resources instead.
+        !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `appservice.FunctionAppHybridConnection` and `appservice.WebAppHybridConnection` resources instead.
 
         ## Example Usage
 
@@ -381,7 +381,7 @@ def __init__(__self__,
         """
         Manages an App Service Hybrid Connection for an existing App Service, Relay and Service Bus.
 
-        !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `appservice.FunctionAppHybridConnection` resources instead.
+        !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `appservice.FunctionAppHybridConnection` and `appservice.WebAppHybridConnection` resources instead.
 
         ## Example Usage
 
diff --git a/sdk/python/pulumi_azure/appservice/slot.py b/sdk/python/pulumi_azure/appservice/slot.py
index 66cc411c2e..b5f4725a15 100644
--- a/sdk/python/pulumi_azure/appservice/slot.py
+++ b/sdk/python/pulumi_azure/appservice/slot.py
@@ -633,7 +633,7 @@ def __init__(__self__,
         """
         Manages an App Service Slot (within an App Service).
 
-        !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `appservice.LinuxWebAppSlot` resources instead.
+        !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `appservice.LinuxWebAppSlot` and `appservice.WindowsWebAppSlot` resources instead.
 
         > **Note:** When using Slots - the `app_settings`, `connection_string` and `site_config` blocks on the `appservice.AppService` resource will be overwritten when promoting a Slot using the `appservice.ActiveSlot` resource.
 
@@ -780,7 +780,7 @@ def __init__(__self__,
         """
         Manages an App Service Slot (within an App Service).
 
-        !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `appservice.LinuxWebAppSlot` resources instead.
+        !> **NOTE:** This resource has been deprecated in version 5.0 of the provider and will be removed in version 6.0. Please use `appservice.LinuxWebAppSlot` and `appservice.WindowsWebAppSlot` resources instead.
 
         > **Note:** When using Slots - the `app_settings`, `connection_string` and `site_config` blocks on the `appservice.AppService` resource will be overwritten when promoting a Slot using the `appservice.ActiveSlot` resource.
 
diff --git a/sdk/python/pulumi_azure/cdn/endpoint.py b/sdk/python/pulumi_azure/cdn/endpoint.py
index bb9ed95c00..507c0a58c6 100644
--- a/sdk/python/pulumi_azure/cdn/endpoint.py
+++ b/sdk/python/pulumi_azure/cdn/endpoint.py
@@ -658,7 +658,7 @@ def __init__(__self__,
         """
         A CDN Endpoint is the entity within a CDN Profile containing configuration information regarding caching behaviours and origins. The CDN Endpoint is exposed using the URL format `.azureedge.net`.
 
-        !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue as the necessary changes are identified.
+        !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue - however unfortunately this may necessitate a breaking change to the CDN and FrontDoor resources, more information will be posted in the GitHub issue as the necessary changes are identified.
 
         ## Example Usage
 
@@ -725,7 +725,7 @@ def __init__(__self__,
         """
         A CDN Endpoint is the entity within a CDN Profile containing configuration information regarding caching behaviours and origins. The CDN Endpoint is exposed using the URL format `.azureedge.net`.
 
-        !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue as the necessary changes are identified.
+        !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue - however unfortunately this may necessitate a breaking change to the CDN and FrontDoor resources, more information will be posted in the GitHub issue as the necessary changes are identified.
 
         ## Example Usage
 
diff --git a/sdk/python/pulumi_azure/cdn/profile.py b/sdk/python/pulumi_azure/cdn/profile.py
index e928d73e14..906100083a 100644
--- a/sdk/python/pulumi_azure/cdn/profile.py
+++ b/sdk/python/pulumi_azure/cdn/profile.py
@@ -204,7 +204,7 @@ def __init__(__self__,
         """
         Manages a CDN Profile to create a collection of CDN Endpoints.
 
-        !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue as the necessary changes are identified.
+        !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue - however unfortunately this may necessitate a breaking change to the CDN and FrontDoor resources, more information will be posted in the GitHub issue as the necessary changes are identified.
 
         ## Example Usage
 
@@ -251,7 +251,7 @@ def __init__(__self__,
         """
         Manages a CDN Profile to create a collection of CDN Endpoints.
 
-        !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue as the necessary changes are identified.
+        !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue - however unfortunately this may necessitate a breaking change to the CDN and FrontDoor resources, more information will be posted in the GitHub issue as the necessary changes are identified.
 
         ## Example Usage
 
diff --git a/sdk/python/pulumi_azure/compute/_inputs.py b/sdk/python/pulumi_azure/compute/_inputs.py
index e62f39c85b..26c55b8a11 100644
--- a/sdk/python/pulumi_azure/compute/_inputs.py
+++ b/sdk/python/pulumi_azure/compute/_inputs.py
@@ -6568,7 +6568,7 @@ class OrchestratedVirtualMachineScaleSetOsProfileWindowsConfigurationArgsDict(Ty
         """
         Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch).
 
-        > **Note:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, the VM's `sku_name` is set to a Azure generation 2 directory within the GitHub Repository.
+        > **Note:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, the VM's `sku_name` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM SKU and the `extension` contains an application health extension. An example of how to correctly configure a Virtual Machine Scale Set to provision a Windows Virtual Machine with hotpatching enabled can be found in the `./examples/orchestrated-vm-scale-set/hotpatching-enabled` directory within the GitHub Repository.
         """
         patch_assessment_mode: NotRequired[pulumi.Input[str]]
         """
@@ -6624,7 +6624,7 @@ def __init__(__self__, *,
         :param pulumi.Input[bool] enable_automatic_updates: Are automatic updates enabled for this Virtual Machine? Defaults to `true`.
         :param pulumi.Input[bool] hotpatching_enabled: Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch).
                
-               > **Note:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, the VM's `sku_name` is set to a Azure generation 2 directory within the GitHub Repository.
+               > **Note:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, the VM's `sku_name` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM SKU and the `extension` contains an application health extension. An example of how to correctly configure a Virtual Machine Scale Set to provision a Windows Virtual Machine with hotpatching enabled can be found in the `./examples/orchestrated-vm-scale-set/hotpatching-enabled` directory within the GitHub Repository.
         :param pulumi.Input[str] patch_assessment_mode: Specifies the mode of VM Guest Patching for the virtual machines that are associated to the Virtual Machine Scale Set. Possible values are `AutomaticByPlatform` or `ImageDefault`. Defaults to `ImageDefault`.
                
                > **Note:** If the `patch_assessment_mode` is set to `AutomaticByPlatform` then the `provision_vm_agent` field must be set to `true`.
@@ -6725,7 +6725,7 @@ def hotpatching_enabled(self) -> Optional[pulumi.Input[bool]]:
         """
         Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch).
 
-        > **Note:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, the VM's `sku_name` is set to a Azure generation 2 directory within the GitHub Repository.
+        > **Note:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, the VM's `sku_name` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM SKU and the `extension` contains an application health extension. An example of how to correctly configure a Virtual Machine Scale Set to provision a Windows Virtual Machine with hotpatching enabled can be found in the `./examples/orchestrated-vm-scale-set/hotpatching-enabled` directory within the GitHub Repository.
         """
         return pulumi.get(self, "hotpatching_enabled")
 
diff --git a/sdk/python/pulumi_azure/compute/outputs.py b/sdk/python/pulumi_azure/compute/outputs.py
index 7738cb6a15..88146690bb 100644
--- a/sdk/python/pulumi_azure/compute/outputs.py
+++ b/sdk/python/pulumi_azure/compute/outputs.py
@@ -5003,7 +5003,7 @@ def __init__(__self__, *,
         :param bool enable_automatic_updates: Are automatic updates enabled for this Virtual Machine? Defaults to `true`.
         :param bool hotpatching_enabled: Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch).
                
-               > **Note:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, the VM's `sku_name` is set to a Azure generation 2 directory within the GitHub Repository.
+               > **Note:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, the VM's `sku_name` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM SKU and the `extension` contains an application health extension. An example of how to correctly configure a Virtual Machine Scale Set to provision a Windows Virtual Machine with hotpatching enabled can be found in the `./examples/orchestrated-vm-scale-set/hotpatching-enabled` directory within the GitHub Repository.
         :param str patch_assessment_mode: Specifies the mode of VM Guest Patching for the virtual machines that are associated to the Virtual Machine Scale Set. Possible values are `AutomaticByPlatform` or `ImageDefault`. Defaults to `ImageDefault`.
                
                > **Note:** If the `patch_assessment_mode` is set to `AutomaticByPlatform` then the `provision_vm_agent` field must be set to `true`.
@@ -5084,7 +5084,7 @@ def hotpatching_enabled(self) -> Optional[bool]:
         """
         Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch).
 
-        > **Note:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, the VM's `sku_name` is set to a Azure generation 2 directory within the GitHub Repository.
+        > **Note:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, the VM's `sku_name` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM SKU and the `extension` contains an application health extension. An example of how to correctly configure a Virtual Machine Scale Set to provision a Windows Virtual Machine with hotpatching enabled can be found in the `./examples/orchestrated-vm-scale-set/hotpatching-enabled` directory within the GitHub Repository.
         """
         return pulumi.get(self, "hotpatching_enabled")
 
diff --git a/sdk/python/pulumi_azure/compute/windows_virtual_machine.py b/sdk/python/pulumi_azure/compute/windows_virtual_machine.py
index dd25472b9f..60839b19fb 100644
--- a/sdk/python/pulumi_azure/compute/windows_virtual_machine.py
+++ b/sdk/python/pulumi_azure/compute/windows_virtual_machine.py
@@ -109,7 +109,7 @@ def __init__(__self__, *,
                > **Note** Gallery Application Assignments can be defined either directly on `compute.WindowsVirtualMachine` resource, or using the `compute.GalleryApplicationAssignment` resource - but the two approaches cannot be used together. If both are used with the same Virtual Machine, spurious changes will occur. If `compute.GalleryApplicationAssignment` is used, it's recommended to use `ignore_changes` for the `gallery_application` block on the corresponding `compute.WindowsVirtualMachine` resource, to avoid a persistent diff when using this resource.
         :param pulumi.Input[bool] hotpatching_enabled: Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch).
                
-               > **NOTE:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, and the VM's `size` is set to a Azure generation 2 directory within the GitHub Repository.
+               > **NOTE:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, and the VM's `size` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM. An example of how to correctly configure a Windows Virtual Machine to use the `hotpatching_enabled` field can be found in the `./examples/virtual-machines/windows/hotpatching-enabled` directory within the GitHub Repository.
         :param pulumi.Input['WindowsVirtualMachineIdentityArgs'] identity: An `identity` block as defined below.
         :param pulumi.Input[str] license_type: Specifies the type of on-premise license (also known as [Azure Hybrid Use Benefit](https://docs.microsoft.com/windows-server/get-started/azure-hybrid-benefit)) which should be used for this Virtual Machine. Possible values are `None`, `Windows_Client` and `Windows_Server`.
         :param pulumi.Input[str] location: The Azure location where the Windows Virtual Machine should exist. Changing this forces a new resource to be created.
@@ -559,7 +559,7 @@ def hotpatching_enabled(self) -> Optional[pulumi.Input[bool]]:
         """
         Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch).
 
-        > **NOTE:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, and the VM's `size` is set to a Azure generation 2 directory within the GitHub Repository.
+        > **NOTE:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, and the VM's `size` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM. An example of how to correctly configure a Windows Virtual Machine to use the `hotpatching_enabled` field can be found in the `./examples/virtual-machines/windows/hotpatching-enabled` directory within the GitHub Repository.
         """
         return pulumi.get(self, "hotpatching_enabled")
 
@@ -1004,7 +1004,7 @@ def __init__(__self__, *,
                > **Note** Gallery Application Assignments can be defined either directly on `compute.WindowsVirtualMachine` resource, or using the `compute.GalleryApplicationAssignment` resource - but the two approaches cannot be used together. If both are used with the same Virtual Machine, spurious changes will occur. If `compute.GalleryApplicationAssignment` is used, it's recommended to use `ignore_changes` for the `gallery_application` block on the corresponding `compute.WindowsVirtualMachine` resource, to avoid a persistent diff when using this resource.
         :param pulumi.Input[bool] hotpatching_enabled: Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch).
                
-               > **NOTE:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, and the VM's `size` is set to a Azure generation 2 directory within the GitHub Repository.
+               > **NOTE:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, and the VM's `size` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM. An example of how to correctly configure a Windows Virtual Machine to use the `hotpatching_enabled` field can be found in the `./examples/virtual-machines/windows/hotpatching-enabled` directory within the GitHub Repository.
         :param pulumi.Input['WindowsVirtualMachineIdentityArgs'] identity: An `identity` block as defined below.
         :param pulumi.Input[str] license_type: Specifies the type of on-premise license (also known as [Azure Hybrid Use Benefit](https://docs.microsoft.com/windows-server/get-started/azure-hybrid-benefit)) which should be used for this Virtual Machine. Possible values are `None`, `Windows_Client` and `Windows_Server`.
         :param pulumi.Input[str] location: The Azure location where the Windows Virtual Machine should exist. Changing this forces a new resource to be created.
@@ -1431,7 +1431,7 @@ def hotpatching_enabled(self) -> Optional[pulumi.Input[bool]]:
         """
         Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch).
 
-        > **NOTE:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, and the VM's `size` is set to a Azure generation 2 directory within the GitHub Repository.
+        > **NOTE:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, and the VM's `size` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM. An example of how to correctly configure a Windows Virtual Machine to use the `hotpatching_enabled` field can be found in the `./examples/virtual-machines/windows/hotpatching-enabled` directory within the GitHub Repository.
         """
         return pulumi.get(self, "hotpatching_enabled")
 
@@ -2055,7 +2055,7 @@ def __init__(__self__,
                > **Note** Gallery Application Assignments can be defined either directly on `compute.WindowsVirtualMachine` resource, or using the `compute.GalleryApplicationAssignment` resource - but the two approaches cannot be used together. If both are used with the same Virtual Machine, spurious changes will occur. If `compute.GalleryApplicationAssignment` is used, it's recommended to use `ignore_changes` for the `gallery_application` block on the corresponding `compute.WindowsVirtualMachine` resource, to avoid a persistent diff when using this resource.
         :param pulumi.Input[bool] hotpatching_enabled: Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch).
                
-               > **NOTE:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, and the VM's `size` is set to a Azure generation 2 directory within the GitHub Repository.
+               > **NOTE:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, and the VM's `size` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM. An example of how to correctly configure a Windows Virtual Machine to use the `hotpatching_enabled` field can be found in the `./examples/virtual-machines/windows/hotpatching-enabled` directory within the GitHub Repository.
         :param pulumi.Input[Union['WindowsVirtualMachineIdentityArgs', 'WindowsVirtualMachineIdentityArgsDict']] identity: An `identity` block as defined below.
         :param pulumi.Input[str] license_type: Specifies the type of on-premise license (also known as [Azure Hybrid Use Benefit](https://docs.microsoft.com/windows-server/get-started/azure-hybrid-benefit)) which should be used for this Virtual Machine. Possible values are `None`, `Windows_Client` and `Windows_Server`.
         :param pulumi.Input[str] location: The Azure location where the Windows Virtual Machine should exist. Changing this forces a new resource to be created.
@@ -2438,7 +2438,7 @@ def get(resource_name: str,
                > **Note** Gallery Application Assignments can be defined either directly on `compute.WindowsVirtualMachine` resource, or using the `compute.GalleryApplicationAssignment` resource - but the two approaches cannot be used together. If both are used with the same Virtual Machine, spurious changes will occur. If `compute.GalleryApplicationAssignment` is used, it's recommended to use `ignore_changes` for the `gallery_application` block on the corresponding `compute.WindowsVirtualMachine` resource, to avoid a persistent diff when using this resource.
         :param pulumi.Input[bool] hotpatching_enabled: Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch).
                
-               > **NOTE:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, and the VM's `size` is set to a Azure generation 2 directory within the GitHub Repository.
+               > **NOTE:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, and the VM's `size` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM. An example of how to correctly configure a Windows Virtual Machine to use the `hotpatching_enabled` field can be found in the `./examples/virtual-machines/windows/hotpatching-enabled` directory within the GitHub Repository.
         :param pulumi.Input[Union['WindowsVirtualMachineIdentityArgs', 'WindowsVirtualMachineIdentityArgsDict']] identity: An `identity` block as defined below.
         :param pulumi.Input[str] license_type: Specifies the type of on-premise license (also known as [Azure Hybrid Use Benefit](https://docs.microsoft.com/windows-server/get-started/azure-hybrid-benefit)) which should be used for this Virtual Machine. Possible values are `None`, `Windows_Client` and `Windows_Server`.
         :param pulumi.Input[str] location: The Azure location where the Windows Virtual Machine should exist. Changing this forces a new resource to be created.
@@ -2733,7 +2733,7 @@ def hotpatching_enabled(self) -> pulumi.Output[Optional[bool]]:
         """
         Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch).
 
-        > **NOTE:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, and the VM's `size` is set to a Azure generation 2 directory within the GitHub Repository.
+        > **NOTE:** Hotpatching can only be enabled if the `patch_mode` is set to `AutomaticByPlatform`, the `provision_vm_agent` is set to `true`, your `source_image_reference` references a hotpatching enabled image, and the VM's `size` is set to a [Azure generation 2](https://docs.microsoft.com/azure/virtual-machines/generation-2#generation-2-vm-sizes) VM. An example of how to correctly configure a Windows Virtual Machine to use the `hotpatching_enabled` field can be found in the `./examples/virtual-machines/windows/hotpatching-enabled` directory within the GitHub Repository.
         """
         return pulumi.get(self, "hotpatching_enabled")
 
diff --git a/sdk/python/pulumi_azure/frontdoor/custom_https_configuration.py b/sdk/python/pulumi_azure/frontdoor/custom_https_configuration.py
index 8e74029b36..19e2cdb0fc 100644
--- a/sdk/python/pulumi_azure/frontdoor/custom_https_configuration.py
+++ b/sdk/python/pulumi_azure/frontdoor/custom_https_configuration.py
@@ -148,7 +148,7 @@ def __init__(__self__,
 
         !> **BREAKING CHANGE:** The `resource_group_name` field has been removed as of the `v2.58.0` provider release. If the `resource_group_name` field has been defined in your current `frontdoor.CustomHttpsConfiguration` resource configuration file please remove it else you will receive a `An argument named "resource_group_name" is not expected here.` error. If your pre-existing Front Door instance contained inline `custom_https_configuration` blocks there are additional steps that will need to be completed to successfully migrate your Front Door onto the `v2.58.0` provider which can be found in this guide.
 
-        !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue as the necessary changes are identified.
+        !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue - however unfortunately this may necessitate a breaking change to the CDN and Front Door resources, more information will be posted in the GitHub issue as the necessary changes are identified.
 
         ```python
         import pulumi
@@ -246,7 +246,7 @@ def __init__(__self__,
 
         !> **BREAKING CHANGE:** The `resource_group_name` field has been removed as of the `v2.58.0` provider release. If the `resource_group_name` field has been defined in your current `frontdoor.CustomHttpsConfiguration` resource configuration file please remove it else you will receive a `An argument named "resource_group_name" is not expected here.` error. If your pre-existing Front Door instance contained inline `custom_https_configuration` blocks there are additional steps that will need to be completed to successfully migrate your Front Door onto the `v2.58.0` provider which can be found in this guide.
 
-        !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue as the necessary changes are identified.
+        !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue - however unfortunately this may necessitate a breaking change to the CDN and Front Door resources, more information will be posted in the GitHub issue as the necessary changes are identified.
 
         ```python
         import pulumi
diff --git a/sdk/python/pulumi_azure/frontdoor/firewall_policy.py b/sdk/python/pulumi_azure/frontdoor/firewall_policy.py
index 734e85f7ee..8a9daa26d0 100644
--- a/sdk/python/pulumi_azure/frontdoor/firewall_policy.py
+++ b/sdk/python/pulumi_azure/frontdoor/firewall_policy.py
@@ -406,7 +406,7 @@ def __init__(__self__,
 
         Manages an Azure Front Door (classic) Web Application Firewall Policy instance.
 
-        !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue as the necessary changes are identified.
+        !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue - however unfortunately this may necessitate a breaking change to the CDN and Front Door resources, more information will be posted in the GitHub issue as the necessary changes are identified.
 
         ## Example Usage
 
@@ -549,7 +549,7 @@ def __init__(__self__,
 
         Manages an Azure Front Door (classic) Web Application Firewall Policy instance.
 
-        !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue as the necessary changes are identified.
+        !> **Be Aware:** Azure is rolling out a breaking change on Friday 9th April 2021 which may cause issues with the CDN/FrontDoor resources. More information is available in this GitHub issue - however unfortunately this may necessitate a breaking change to the CDN and Front Door resources, more information will be posted in the GitHub issue as the necessary changes are identified.
 
         ## Example Usage
 
diff --git a/sdk/python/pulumi_azure/logicapps/trigger_custom.py b/sdk/python/pulumi_azure/logicapps/trigger_custom.py
index a119aecf64..ded7541dbd 100644
--- a/sdk/python/pulumi_azure/logicapps/trigger_custom.py
+++ b/sdk/python/pulumi_azure/logicapps/trigger_custom.py
@@ -84,7 +84,7 @@ def __init__(__self__, *,
         """
         Input properties used for looking up and filtering TriggerCustom resources.
         :param pulumi.Input[str] body: Specifies the JSON Blob defining the Body of this Custom Trigger.
-        :param pulumi.Input[str] callback_url: The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group.
+        :param pulumi.Input[str] callback_url: The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group and security_center_automation.
         :param pulumi.Input[str] logic_app_id: Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created.
         :param pulumi.Input[str] name: Specifies the name of the HTTP Trigger to be created within the Logic App Workflow. Changing this forces a new resource to be created.
                
@@ -115,7 +115,7 @@ def body(self, value: Optional[pulumi.Input[str]]):
     @pulumi.getter(name="callbackUrl")
     def callback_url(self) -> Optional[pulumi.Input[str]]:
         """
-        The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group.
+        The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group and security_center_automation.
         """
         return pulumi.get(self, "callback_url")
 
@@ -304,7 +304,7 @@ def get(resource_name: str,
         :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
         :param pulumi.ResourceOptions opts: Options for the resource.
         :param pulumi.Input[str] body: Specifies the JSON Blob defining the Body of this Custom Trigger.
-        :param pulumi.Input[str] callback_url: The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group.
+        :param pulumi.Input[str] callback_url: The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group and security_center_automation.
         :param pulumi.Input[str] logic_app_id: Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created.
         :param pulumi.Input[str] name: Specifies the name of the HTTP Trigger to be created within the Logic App Workflow. Changing this forces a new resource to be created.
                
@@ -332,7 +332,7 @@ def body(self) -> pulumi.Output[str]:
     @pulumi.getter(name="callbackUrl")
     def callback_url(self) -> pulumi.Output[str]:
         """
-        The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group.
+        The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group and security_center_automation.
         """
         return pulumi.get(self, "callback_url")
 
diff --git a/sdk/python/pulumi_azure/logicapps/trigger_http_request.py b/sdk/python/pulumi_azure/logicapps/trigger_http_request.py
index 7c23093a15..26d6afd0df 100644
--- a/sdk/python/pulumi_azure/logicapps/trigger_http_request.py
+++ b/sdk/python/pulumi_azure/logicapps/trigger_http_request.py
@@ -121,7 +121,7 @@ def __init__(__self__, *,
                  schema: Optional[pulumi.Input[str]] = None):
         """
         Input properties used for looking up and filtering TriggerHttpRequest resources.
-        :param pulumi.Input[str] callback_url: The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group.
+        :param pulumi.Input[str] callback_url: The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group and security_center_automation.
         :param pulumi.Input[str] logic_app_id: Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created.
         :param pulumi.Input[str] method: Specifies the HTTP Method which the request be using. Possible values include `DELETE`, `GET`, `PATCH`, `POST` or `PUT`.
         :param pulumi.Input[str] name: Specifies the name of the HTTP Request Trigger to be created within the Logic App Workflow. Changing this forces a new resource to be created.
@@ -149,7 +149,7 @@ def __init__(__self__, *,
     @pulumi.getter(name="callbackUrl")
     def callback_url(self) -> Optional[pulumi.Input[str]]:
         """
-        The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group.
+        The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group and security_center_automation.
         """
         return pulumi.get(self, "callback_url")
 
@@ -389,7 +389,7 @@ def get(resource_name: str,
         :param str resource_name: The unique name of the resulting resource.
         :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
         :param pulumi.ResourceOptions opts: Options for the resource.
-        :param pulumi.Input[str] callback_url: The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group.
+        :param pulumi.Input[str] callback_url: The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group and security_center_automation.
         :param pulumi.Input[str] logic_app_id: Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created.
         :param pulumi.Input[str] method: Specifies the HTTP Method which the request be using. Possible values include `DELETE`, `GET`, `PATCH`, `POST` or `PUT`.
         :param pulumi.Input[str] name: Specifies the name of the HTTP Request Trigger to be created within the Logic App Workflow. Changing this forces a new resource to be created.
@@ -416,7 +416,7 @@ def get(resource_name: str,
     @pulumi.getter(name="callbackUrl")
     def callback_url(self) -> pulumi.Output[str]:
         """
-        The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group.
+        The URL of the Trigger within the Logic App Workflow. For use with certain resources like monitor_action_group and security_center_automation.
         """
         return pulumi.get(self, "callback_url")