diff --git a/modules/Microsoft.Web/staticSites/.test/common/dependencies.bicep b/modules/Microsoft.Web/staticSites/.test/common/dependencies.bicep index 06ded5ecf0..6342518c23 100644 --- a/modules/Microsoft.Web/staticSites/.test/common/dependencies.bicep +++ b/modules/Microsoft.Web/staticSites/.test/common/dependencies.bicep @@ -7,6 +7,12 @@ param virtualNetworkName string @description('Required. The name of the Managed Identity to create.') param managedIdentityName string +@description('Required. The name of the Function App to create.') +param siteName string + +@description('Required. The name of the Server Farm to create.') +param serverFarmName string + resource virtualNetwork 'Microsoft.Network/virtualNetworks@2022-01-01' = { name: virtualNetworkName location: location @@ -48,6 +54,28 @@ resource managedIdentity 'Microsoft.ManagedIdentity/userAssignedIdentities@2018- location: location } +resource serverFarm 'Microsoft.Web/serverfarms@2022-03-01' = { + name: serverFarmName + location: location + sku: { + name: 'S1' + tier: 'Standard' + size: 'S1' + family: 'S' + capacity: 1 + } + properties: {} +} + +resource functionApp 'Microsoft.Web/sites@2022-03-01' = { + name: siteName + location: location + kind: 'functionapp' + properties: { + serverFarmId: serverFarm.id + } +} + @description('The resource ID of the created Virtual Network Subnet.') output subnetResourceId string = virtualNetwork.properties.subnets[0].id @@ -57,5 +85,8 @@ output managedIdentityPrincipalId string = managedIdentity.properties.principalI @description('The resource ID of the created Managed Identity.') output managedIdentityResourceId string = managedIdentity.id -@description('The resource ID of the created private DNS zone.') +@description('The resource ID of the created Private DNS zone.') output privateDNSZoneResourceId string = privateDNSZone.id + +@description('The resource ID of the created Function App.') +output siteResourceId string = functionApp.id diff --git a/modules/Microsoft.Web/staticSites/.test/common/deploy.test.bicep b/modules/Microsoft.Web/staticSites/.test/common/deploy.test.bicep index 614ca3a820..0c9b1dfea2 100644 --- a/modules/Microsoft.Web/staticSites/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Web/staticSites/.test/common/deploy.test.bicep @@ -30,6 +30,8 @@ module resourceGroupResources 'dependencies.bicep' = { params: { virtualNetworkName: 'dep-<>-vnet-${serviceShort}' managedIdentityName: 'dep-<>-msi-${serviceShort}' + siteName: 'dep-<>-fa-${serviceShort}' + serverFarmName: 'dep-<>-sf-${serviceShort}' } } @@ -70,5 +72,16 @@ module testDeployment '../../deploy.bicep' = { userAssignedIdentities: { '${resourceGroupResources.outputs.managedIdentityResourceId}': {} } + appSettings: { + foo: 'bar' + setting: 1 + } + functionAppSettings: { + foo: 'bar' + setting: 1 + } + linkedBackend: { + resourceId: resourceGroupResources.outputs.siteResourceId + } } } diff --git a/modules/Microsoft.Web/staticSites/config/deploy.bicep b/modules/Microsoft.Web/staticSites/config/deploy.bicep new file mode 100644 index 0000000000..dcbf7382fc --- /dev/null +++ b/modules/Microsoft.Web/staticSites/config/deploy.bicep @@ -0,0 +1,50 @@ +@allowed([ + 'appsettings' + 'functionappsettings' +]) +@description('Required. Type of settings to apply.') +param kind string + +@description('Required. App settings.') +param properties object + +@description('Conditional. The name of the parent Static Web App. Required if the template is used in a standalone deployment.') +param staticSiteName string + +@description('Optional. Enable telemetry via the Customer Usage Attribution ID (GUID).') +param enableDefaultTelemetry bool = true + +@description('Optional. Location for all resources.') +param location string = resourceGroup().location + +resource staticSite 'Microsoft.Web/staticSites@2022-03-01' existing = { + name: staticSiteName +} + +resource config 'Microsoft.Web/staticSites/config@2022-03-01' = { + #disable-next-line BCP225 // Disables incorrect error that `name` cannot be determined at compile time. + name: kind + parent: staticSite + properties: properties +} + +resource defaultTelemetry 'Microsoft.Resources/deployments@2021-04-01' = if (enableDefaultTelemetry) { + name: 'pid-47ed15a6-730a-4827-bcb4-0fd963ffbd82-${uniqueString(deployment().name, location)}' + properties: { + mode: 'Incremental' + template: { + '$schema': 'https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#' + contentVersion: '1.0.0.0' + resources: [] + } + } +} + +@description('The name of the config.') +output name string = config.name + +@description('The resource ID of the config.') +output resourceId string = config.id + +@description('The name of the resource group the config was created in.') +output resourceGroupName string = resourceGroup().name diff --git a/modules/Microsoft.Web/staticSites/config/readme.md b/modules/Microsoft.Web/staticSites/config/readme.md new file mode 100644 index 0000000000..15e4007f66 --- /dev/null +++ b/modules/Microsoft.Web/staticSites/config/readme.md @@ -0,0 +1,51 @@ +# Static Site Config `[Microsoft.Web/staticSites/config]` + +This module deploys a Static Site Config. + +## Navigation + +- [Resource Types](#Resource-Types) +- [Parameters](#Parameters) +- [Outputs](#Outputs) +- [Cross-referenced modules](#Cross-referenced-modules) + +## Resource Types + +| Resource Type | API Version | +| :-- | :-- | +| `Microsoft.Web/staticSites/config` | [2022-03-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Web/staticSites/config) | + +## Parameters + +**Required parameters** + +| Parameter Name | Type | Allowed Values | Description | +| :-- | :-- | :-- | :-- | +| `kind` | string | `[appsettings, functionappsettings]` | Type of settings to apply. | +| `properties` | object | | App settings. | + +**Conditional parameters** + +| Parameter Name | Type | Description | +| :-- | :-- | :-- | +| `staticSiteName` | string | The name of the parent Static Web App. Required if the template is used in a standalone deployment. | + +**Optional parameters** + +| Parameter Name | Type | Default Value | Description | +| :-- | :-- | :-- | :-- | +| `enableDefaultTelemetry` | bool | `True` | Enable telemetry via the Customer Usage Attribution ID (GUID). | +| `location` | string | `[resourceGroup().location]` | Location for all resources. | + + +## Outputs + +| Output Name | Type | Description | +| :-- | :-- | :-- | +| `name` | string | The name of the config. | +| `resourceGroupName` | string | The name of the resource group the config was created in. | +| `resourceId` | string | The resource ID of the config. | + +## Cross-referenced modules + +_None_ diff --git a/modules/Microsoft.Web/staticSites/config/version.json b/modules/Microsoft.Web/staticSites/config/version.json new file mode 100644 index 0000000000..d52c7d0010 --- /dev/null +++ b/modules/Microsoft.Web/staticSites/config/version.json @@ -0,0 +1,4 @@ +{ + "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", + "version": "0.6" +} diff --git a/modules/Microsoft.Web/staticSites/customDomains/deploy.bicep b/modules/Microsoft.Web/staticSites/customDomains/deploy.bicep new file mode 100644 index 0000000000..18e262b743 --- /dev/null +++ b/modules/Microsoft.Web/staticSites/customDomains/deploy.bicep @@ -0,0 +1,47 @@ +@description('Conditional. The custom domain name. Required if the template is used in a standalone deployment.') +param name string + +@description('Conditional. The name of the parent Static Web App. Required if the template is used in a standalone deployment.') +param staticSiteName string + +@description('Optional. Validation method for adding a custom domain.') +param validationMethod string = 'cname-delegation' + +@description('Optional. Enable telemetry via the Customer Usage Attribution ID (GUID).') +param enableDefaultTelemetry bool = true + +@description('Optional. Location for all resources.') +param location string = resourceGroup().location + +resource staticSite 'Microsoft.Web/staticSites@2022-03-01' existing = { + name: staticSiteName +} + +resource customDomain 'Microsoft.Web/staticSites/customDomains@2022-03-01' = { + name: name + parent: staticSite + properties: { + validationMethod: validationMethod + } +} + +resource defaultTelemetry 'Microsoft.Resources/deployments@2021-04-01' = if (enableDefaultTelemetry) { + name: 'pid-47ed15a6-730a-4827-bcb4-0fd963ffbd82-${uniqueString(deployment().name, location)}' + properties: { + mode: 'Incremental' + template: { + '$schema': 'https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#' + contentVersion: '1.0.0.0' + resources: [] + } + } +} + +@description('The name of the static site custom domain.') +output name string = customDomain.name + +@description('The resource ID of the static site custom domain.') +output resourceId string = customDomain.id + +@description('The resource group the static site custom domain was deployed into.') +output resourceGroupName string = resourceGroup().name diff --git a/modules/Microsoft.Web/staticSites/customDomains/readme.md b/modules/Microsoft.Web/staticSites/customDomains/readme.md new file mode 100644 index 0000000000..5039a38335 --- /dev/null +++ b/modules/Microsoft.Web/staticSites/customDomains/readme.md @@ -0,0 +1,46 @@ +# Static Site Custom Domain `[Microsoft.Web/staticSites/customDomains]` + +This module deploys a Custom Domain into a Static Site. + +## Navigation + +- [Resource Types](#Resource-Types) +- [Parameters](#Parameters) +- [Outputs](#Outputs) +- [Cross-referenced modules](#Cross-referenced-modules) + +## Resource Types + +| Resource Type | API Version | +| :-- | :-- | +| `Microsoft.Web/staticSites/customDomains` | [2022-03-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Web/2022-03-01/staticSites/customDomains) | + +## Parameters + +**Conditional parameters** + +| Parameter Name | Type | Description | +| :-- | :-- | :-- | +| `name` | string | The custom domain name. Required if the template is used in a standalone deployment. | +| `staticSiteName` | string | The name of the parent Static Web App. Required if the template is used in a standalone deployment. | + +**Optional parameters** + +| Parameter Name | Type | Default Value | Description | +| :-- | :-- | :-- | :-- | +| `enableDefaultTelemetry` | bool | `True` | Enable telemetry via the Customer Usage Attribution ID (GUID). | +| `location` | string | `[resourceGroup().location]` | Location for all resources. | +| `validationMethod` | string | `'cname-delegation'` | Validation method for adding a custom domain. | + + +## Outputs + +| Output Name | Type | Description | +| :-- | :-- | :-- | +| `name` | string | The name of the static site. | +| `resourceGroupName` | string | The resource group the static site was deployed into. | +| `resourceId` | string | The resource ID of the static site. | + +## Cross-referenced modules + +_None_ diff --git a/modules/Microsoft.Web/staticSites/customDomains/version.json b/modules/Microsoft.Web/staticSites/customDomains/version.json new file mode 100644 index 0000000000..d52c7d0010 --- /dev/null +++ b/modules/Microsoft.Web/staticSites/customDomains/version.json @@ -0,0 +1,4 @@ +{ + "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", + "version": "0.6" +} diff --git a/modules/Microsoft.Web/staticSites/deploy.bicep b/modules/Microsoft.Web/staticSites/deploy.bicep index 3ebee3227a..d799775da3 100644 --- a/modules/Microsoft.Web/staticSites/deploy.bicep +++ b/modules/Microsoft.Web/staticSites/deploy.bicep @@ -10,10 +10,10 @@ param name string @description('Optional. Type of static site to deploy.') param sku string = 'Free' -@description('Optional. If config file is locked for this static web app.') +@description('Optional. False if config file is locked for this static web app; otherwise, true.') param allowConfigFileUpdates bool = true -@description('Optional. Location to deploy static site. The following locations are supported: CentralUS, EastUS2, EastAsia, WestEurope, WestUS2.') +@description('Optional. Location for all resources.') param location string = resourceGroup().location @allowed([ @@ -77,6 +77,18 @@ param enableDefaultTelemetry bool = true @description('Optional. Array of role assignment objects that contain the \'roleDefinitionIdOrName\' and \'principalId\' to define RBAC role assignments on this resource. In the roleDefinitionIdOrName attribute, you can provide either the display name of the role definition, or its fully qualified ID in the following format: \'/providers/Microsoft.Authorization/roleDefinitions/c2f4ef07-c644-48eb-af81-4b1b4947fb11\'.') param roleAssignments array = [] +@description('Optional. Object with "resourceId" and "location" of the a user defined function app.') +param linkedBackend object = {} + +@description('Optional. Static site app settings.') +param appSettings object = {} + +@description('Optional. Function app settings.') +param functionAppSettings object = {} + +@description('Optional. The custom domains associated with this static site. The deployment will fail as long as the validation records are not present.') +param customDomains array = [] + var enableReferencedModulesTelemetry = false var identityType = systemAssignedIdentity ? (!empty(userAssignedIdentities) ? 'SystemAssigned,UserAssigned' : 'SystemAssigned') : (!empty(userAssignedIdentities) ? 'UserAssigned' : 'None') @@ -120,6 +132,46 @@ resource staticSite 'Microsoft.Web/staticSites@2021-03-01' = { } } +module staticSite_linkedBackend 'linkedBackends/deploy.bicep' = if (!empty(linkedBackend)) { + name: '${uniqueString(deployment().name, location)}-StaticSite-UserDefinedFunction' + params: { + staticSiteName: staticSite.name + backendResourceId: linkedBackend.resourceId + region: contains(linkedBackend, 'location') ? linkedBackend.location : location + enableDefaultTelemetry: enableReferencedModulesTelemetry + } +} + +module staticSite_appSettings 'config/deploy.bicep' = if (!empty(appSettings)) { + name: '${uniqueString(deployment().name, location)}-StaticSite-appSettings' + params: { + kind: 'appsettings' + staticSiteName: staticSite.name + properties: appSettings + enableDefaultTelemetry: enableReferencedModulesTelemetry + } +} + +module staticSite_functionAppSettings 'config/deploy.bicep' = if (!empty(functionAppSettings)) { + name: '${uniqueString(deployment().name, location)}-StaticSite-functionAppSettings' + params: { + kind: 'functionappsettings' + staticSiteName: staticSite.name + properties: functionAppSettings + enableDefaultTelemetry: enableReferencedModulesTelemetry + } +} + +module staticSite_customDomains 'customDomains/deploy.bicep' = [for (customDomain, index) in customDomains: { + name: '${uniqueString(deployment().name, location)}-StaticSite-customDomains-${index}' + params: { + name: customDomain + staticSiteName: staticSite.name + validationMethod: indexOf(customDomain, '.') == lastIndexOf(customDomain, '.') ? 'dns-txt-token' : 'cname-delegation' + enableDefaultTelemetry: enableReferencedModulesTelemetry + } +}] + resource staticSite_lock 'Microsoft.Authorization/locks@2017-04-01' = if (!empty(lock)) { name: '${staticSite.name}-${lock}-lock' properties: { diff --git a/modules/Microsoft.Web/staticSites/linkedBackends/deploy.bicep b/modules/Microsoft.Web/staticSites/linkedBackends/deploy.bicep new file mode 100644 index 0000000000..c907333d30 --- /dev/null +++ b/modules/Microsoft.Web/staticSites/linkedBackends/deploy.bicep @@ -0,0 +1,51 @@ +@description('Required. The resource ID of the backend linked to the static site.') +param backendResourceId string + +@description('Optional. The region of the backend linked to the static site.') +param region string = resourceGroup().location + +@description('Conditional. The name of the parent Static Web App. Required if the template is used in a standalone deployment.') +param staticSiteName string + +@description('Optional. Name of the backend to link to the static site.') +param name string = uniqueString(backendResourceId) + +@description('Optional. Enable telemetry via the Customer Usage Attribution ID (GUID).') +param enableDefaultTelemetry bool = true + +@description('Optional. Location for all resources.') +param location string = resourceGroup().location + +resource staticSite 'Microsoft.Web/staticSites@2022-03-01' existing = { + name: staticSiteName +} + +resource linkedBackend 'Microsoft.Web/staticSites/linkedBackends@2022-03-01' = { + name: name + parent: staticSite + properties: { + backendResourceId: backendResourceId + region: region + } +} + +resource defaultTelemetry 'Microsoft.Resources/deployments@2021-04-01' = if (enableDefaultTelemetry) { + name: 'pid-47ed15a6-730a-4827-bcb4-0fd963ffbd82-${uniqueString(deployment().name, location)}' + properties: { + mode: 'Incremental' + template: { + '$schema': 'https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#' + contentVersion: '1.0.0.0' + resources: [] + } + } +} + +@description('The name of the static site linked backend.') +output name string = linkedBackend.name + +@description('The resource ID of the static site linked backend.') +output resourceId string = linkedBackend.id + +@description('The resource group the static site linked backend was deployed into.') +output resourceGroupName string = resourceGroup().name diff --git a/modules/Microsoft.Web/staticSites/linkedBackends/readme.md b/modules/Microsoft.Web/staticSites/linkedBackends/readme.md new file mode 100644 index 0000000000..f7a169b4a3 --- /dev/null +++ b/modules/Microsoft.Web/staticSites/linkedBackends/readme.md @@ -0,0 +1,52 @@ +# Static Site Linked Backend `[Microsoft.Web/staticSites/linkedBackends]` + +This module deploys a Custom Function App into a Static Site using the linkedBackends property. + +## Navigation + +- [Resource Types](#Resource-Types) +- [Parameters](#Parameters) +- [Outputs](#Outputs) +- [Cross-referenced modules](#Cross-referenced-modules) + +## Resource Types + +| Resource Type | API Version | +| :-- | :-- | +| `Microsoft.Web/staticSites/linkedBackends` | [2022-03-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Web/2022-03-01/staticSites/linkedBackends) | + +## Parameters + +**Required parameters** + +| Parameter Name | Type | Description | +| :-- | :-- | :-- | +| `backendResourceId` | string | The resource id of the backend linked to the static site. | + +**Conditional parameters** + +| Parameter Name | Type | Description | +| :-- | :-- | :-- | +| `staticSiteName` | string | The name of the parent Static Web App. Required if the template is used in a standalone deployment. | + +**Optional parameters** + +| Parameter Name | Type | Default Value | Description | +| :-- | :-- | :-- | :-- | +| `enableDefaultTelemetry` | bool | `True` | Enable telemetry via the Customer Usage Attribution ID (GUID). | +| `location` | string | `[resourceGroup().location]` | Location for all resources. | +| `name` | string | `[uniqueString(parameters('backendResourceId'))]` | Name of the backend to link to the static site. | +| `region` | string | `[resourceGroup().location]` | The region of the backend linked to the static site. | + + +## Outputs + +| Output Name | Type | Description | +| :-- | :-- | :-- | +| `name` | string | The name of the static site. | +| `resourceGroupName` | string | The resource group the static site was deployed into. | +| `resourceId` | string | The resource ID of the static site. | + +## Cross-referenced modules + +_None_ diff --git a/modules/Microsoft.Web/staticSites/linkedBackends/version.json b/modules/Microsoft.Web/staticSites/linkedBackends/version.json new file mode 100644 index 0000000000..d52c7d0010 --- /dev/null +++ b/modules/Microsoft.Web/staticSites/linkedBackends/version.json @@ -0,0 +1,4 @@ +{ + "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", + "version": "0.6" +} diff --git a/modules/Microsoft.Web/staticSites/readme.md b/modules/Microsoft.Web/staticSites/readme.md index 1874c3ccab..7de46d3c09 100644 --- a/modules/Microsoft.Web/staticSites/readme.md +++ b/modules/Microsoft.Web/staticSites/readme.md @@ -19,6 +19,9 @@ This module deploys a Static Web App. | `Microsoft.Network/privateEndpoints` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Network/2021-08-01/privateEndpoints) | | `Microsoft.Network/privateEndpoints/privateDnsZoneGroups` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Network/2021-08-01/privateEndpoints/privateDnsZoneGroups) | | `Microsoft.Web/staticSites` | [2021-03-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Web/2021-03-01/staticSites) | +| `Microsoft.Web/staticSites/config` | [2022-03-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Web/staticSites/config) | +| `Microsoft.Web/staticSites/customDomains` | [2022-03-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Web/2022-03-01/staticSites/customDomains) | +| `Microsoft.Web/staticSites/linkedBackends` | [2022-03-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Web/2022-03-01/staticSites/linkedBackends) | ## Parameters @@ -32,12 +35,16 @@ This module deploys a Static Web App. | Parameter Name | Type | Default Value | Allowed Values | Description | | :-- | :-- | :-- | :-- | :-- | -| `allowConfigFileUpdates` | bool | `True` | | If config file is locked for this static web app. | +| `allowConfigFileUpdates` | bool | `True` | | False if config file is locked for this static web app; otherwise, true. | +| `appSettings` | object | `{object}` | | Static site app settings. | | `branch` | string | `''` | | The branch name of the GitHub repository. | | `buildProperties` | object | `{object}` | | Build properties for the static site. | +| `customDomains` | _[customDomains](customDomains/readme.md)_ array | `[]` | | The custom domains associated with this static site. The deployment will fail as long as the validation records are not present. | | `enableDefaultTelemetry` | bool | `True` | | Enable telemetry via the Customer Usage Attribution ID (GUID). | | `enterpriseGradeCdnStatus` | string | `'Disabled'` | `[Disabled, Disabling, Enabled, Enabling]` | State indicating the status of the enterprise grade CDN serving traffic to the static web app. | -| `location` | string | `[resourceGroup().location]` | | Location to deploy static site. The following locations are supported: CentralUS, EastUS2, EastAsia, WestEurope, WestUS2. | +| `functionAppSettings` | object | `{object}` | | Function app settings. | +| `linkedBackend` | object | `{object}` | | Object with "resourceId" and "location" of the a user defined function app. | +| `location` | string | `[resourceGroup().location]` | | Location for all resources. | | `lock` | string | `''` | `['', CanNotDelete, ReadOnly]` | Specify the type of lock. | | `privateEndpoints` | array | `[]` | | Configuration details for private endpoints. For security reasons, it is recommended to use private endpoints whenever possible. Note, requires the 'sku' to be 'Standard'. | | `provider` | string | `'None'` | | The provider that submitted the last deployment to the primary environment of the static site. | @@ -266,6 +273,39 @@ userAssignedIdentities: {

+### Parameter Usage: `customDomains` + +

+ +Parameter JSON format + +```json +"customDomains": { + "value": [ + "<>domain1.domain", + "<>domain2.domain.domain", + "<>domain3.domain.domain.domain" + ] +} +``` + +
+ +
+ +Bicep format + +```bicep +customDomains: [ + 'carmldomain1.domain' + 'carmldomain2.domain.domain' + 'carmldomain3.domain.domain.domain' +] +``` + +
+

+ ## Outputs | Output Name | Type | Description | @@ -306,7 +346,18 @@ module staticSites './Microsoft.Web/staticSites/deploy.bicep' = { name: '<>wsscom001' // Non-required parameters allowConfigFileUpdates: true + appSettings: { + foo: 'bar' + setting: 1 + } enterpriseGradeCdnStatus: 'Disabled' + functionAppSettings: { + foo: 'bar' + setting: 1 + } + linkedBackend: { + resourceId: '' + } lock: 'CanNotDelete' privateEndpoints: [ { @@ -357,9 +408,26 @@ module staticSites './Microsoft.Web/staticSites/deploy.bicep' = { "allowConfigFileUpdates": { "value": true }, + "appSettings": { + "value": { + "foo": "bar", + "setting": 1 + } + }, "enterpriseGradeCdnStatus": { "value": "Disabled" }, + "functionAppSettings": { + "value": { + "foo": "bar", + "setting": 1 + } + }, + "linkedBackend": { + "value": { + "resourceId": "" + } + }, "lock": { "value": "CanNotDelete" }, diff --git a/modules/Microsoft.Web/staticSites/version.json b/modules/Microsoft.Web/staticSites/version.json index 41f66cc990..d52c7d0010 100644 --- a/modules/Microsoft.Web/staticSites/version.json +++ b/modules/Microsoft.Web/staticSites/version.json @@ -1,4 +1,4 @@ { "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", - "version": "0.1" + "version": "0.6" }