Last active
April 11, 2022 21:30
-
-
Save LayZeeDK/98d19fb4dd86576c4180ba88a539b65d to your computer and use it in GitHub Desktop.
az deployment sub what-if
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS> az deployment sub what-if --location westeurope --template-file ./bicep/main.bicep | |
Note: The result may contain false positive predictions (noise). | |
You can help us improve the accuracy of the result by opening an issue here: https://aka.ms/WhatIfIssues | |
Resource and property changes are indicated with these symbols: | |
+ Create oviders/Microsoft | |
~ Modify | |
= Nochange | |
The deployment will update the following scopes | |
Scope: /subscriptions/31629f13-425a-4a2d-ae00-f17bb9391120 | |
oviders/Microsoft | |
= resourceGroups/lzrsstwitter-rg-dev-001 [2021-04-01] | |
Scope: /subscriptions/31629f13-425a-4a2d-ae00-f17bb9391120/resourceGroups/lzrsstwitter-rg-dev-001 | |
+ Microsoft.Web/serverfarms/lzrsstwitter-plan-dev-001 [2020-10-01] | |
apiVersion: "2020-10-01" | |
id: "/subscriptions/31629f13-425a-4a2d-ae00-f17bb9391120/resourceGroups/lzrsstwitter-rg-dev-001/providers/Microsoft.Web/serverfarms/lzrsstwitter-plan-dev-001" | |
kind: "functionapp" | |
location: "westeurope" | |
name: "lzrsstwitter-plan-dev-001" | |
properties.reserved: true | |
sku.name: "Y1" | |
tags.application: "lzrsstwitter" | |
tags.environment: "dev" | |
tags.nubesgen-version: "0.11.2" | |
type: "Microsoft.Web/serverfarms" | |
~ Microsoft.Web/sites/lzrsstwitter-app-dev-001 [2020-06-01] | |
+ properties.siteConfig.localMySqlEnabled: false | |
+ properties.siteConfig.netFrameworkVersion: "v4.6" | |
= Microsoft.Storage/storageAccounts/lzrsstdev001 [2019-06-01] | |
Resource changes: 1 to create, 1 to modify, 2 no change. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
az deployment sub what-if --location westeurope --template-file ./bicep/main.bicep --no-pretty-print | |
{ | |
"changes": [ | |
{ | |
"after": { | |
"apiVersion": "2021-04-01", | |
"id": "/subscriptions/31629f13-425a-4a2d-ae00-f17bb9391120/resourceGroups/lzrsstwitter-rg-dev-001", | |
"location": "westeurope", | |
"name": "lzrsstwitter-rg-dev-001", | |
"tags": { | |
"application": "lzrsstwitter", | |
"environment": "dev", | |
"nubesgen-version": "0.11.2" | |
}, | |
"type": "Microsoft.Resources/resourceGroups" | |
}, | |
"before": { | |
"apiVersion": "2021-04-01", | |
"id": "/subscriptions/31629f13-425a-4a2d-ae00-f17bb9391120/resourceGroups/lzrsstwitter-rg-dev-001", | |
"location": "westeurope", | |
"name": "lzrsstwitter-rg-dev-001", | |
"tags": { | |
"application": "lzrsstwitter", | |
"environment": "dev", | |
"nubesgen-version": "0.11.2" | |
}, | |
"type": "Microsoft.Resources/resourceGroups" | |
}, | |
"changeType": "NoChange", | |
"delta": [], | |
"resourceId": "/subscriptions/31629f13-425a-4a2d-ae00-f17bb9391120/resourceGroups/lzrsstwitter-rg-dev-001", | |
"unsupportedReason": null | |
}, | |
{ | |
"after": { | |
"apiVersion": "2019-06-01", | |
"id": "/subscriptions/31629f13-425a-4a2d-ae00-f17bb9391120/resourceGroups/lzrsstwitter-rg-dev-001/providers/Microsoft.Storage/storageAccounts/lzrsstdev001", | |
"kind": "StorageV2", | |
"location": "westeurope", | |
"name": "lzrsstdev001", | |
"properties": { | |
"accessTier": "Hot", | |
"encryption": { | |
"keySource": "Microsoft.Storage" | |
}, | |
"networkAcls": { | |
"bypass": "AzureServices", | |
"defaultAction": "Allow" | |
}, | |
"supportsHttpsTrafficOnly": true | |
}, | |
"resourceGroup": "lzrsstwitter-rg-dev-001", | |
"sku": { | |
"name": "Standard_LRS" | |
}, | |
"tags": { | |
"application": "lzrsstwitter", | |
"environment": "dev", | |
"nubesgen-version": "0.11.2" | |
}, | |
"type": "Microsoft.Storage/storageAccounts" | |
}, | |
"before": { | |
"apiVersion": "2019-06-01", | |
"id": "/subscriptions/31629f13-425a-4a2d-ae00-f17bb9391120/resourceGroups/lzrsstwitter-rg-dev-001/providers/Microsoft.Storage/storageAccounts/lzrsstdev001", | |
"kind": "StorageV2", | |
"location": "westeurope", | |
"name": "lzrsstdev001", | |
"properties": { | |
"accessTier": "Hot", | |
"encryption": { | |
"keySource": "Microsoft.Storage" | |
}, | |
"networkAcls": { | |
"bypass": "AzureServices", | |
"defaultAction": "Allow" | |
}, | |
"supportsHttpsTrafficOnly": true | |
}, | |
"resourceGroup": "lzrsstwitter-rg-dev-001", | |
"sku": { | |
"name": "Standard_LRS" | |
}, | |
"tags": { | |
"application": "lzrsstwitter", | |
"environment": "dev", | |
"nubesgen-version": "0.11.2" | |
}, | |
"type": "Microsoft.Storage/storageAccounts" | |
}, | |
"changeType": "NoChange", | |
"delta": [], | |
"resourceId": "/subscriptions/31629f13-425a-4a2d-ae00-f17bb9391120/resourceGroups/lzrsstwitter-rg-dev-001/providers/Microsoft.Storage/storageAccounts/lzrsstdev001", | |
"unsupportedReason": null | |
}, | |
{ | |
"after": { | |
"apiVersion": "2020-10-01", | |
"id": "/subscriptions/31629f13-425a-4a2d-ae00-f17bb9391120/resourceGroups/lzrsstwitter-rg-dev-001/providers/Microsoft.Web/serverfarms/lzrsstwitter-plan-dev-001", | |
"kind": "functionapp", | |
"location": "westeurope", | |
"name": "lzrsstwitter-plan-dev-001", | |
"properties": { | |
"reserved": true | |
}, | |
"resourceGroup": "lzrsstwitter-rg-dev-001", | |
"sku": { | |
"name": "Y1" | |
}, | |
"tags": { | |
"application": "lzrsstwitter", | |
"environment": "dev", | |
"nubesgen-version": "0.11.2" | |
}, | |
"type": "Microsoft.Web/serverfarms" | |
}, | |
"before": null, | |
"changeType": "Create", | |
"delta": null, | |
"resourceId": "/subscriptions/31629f13-425a-4a2d-ae00-f17bb9391120/resourceGroups/lzrsstwitter-rg-dev-001/providers/Microsoft.Web/serverfarms/lzrsstwitter-plan-dev-001", | |
"unsupportedReason": null | |
}, | |
{ | |
"after": { | |
"apiVersion": "2020-06-01", | |
"id": "/subscriptions/31629f13-425a-4a2d-ae00-f17bb9391120/resourceGroups/lzrsstwitter-rg-dev-001/providers/Microsoft.Web/sites/lzrsstwitter-app-dev-001", | |
"kind": "functionapp,linux", | |
"location": "westeurope", | |
"name": "lzrsstwitter-app-dev-001", | |
"properties": { | |
"clientAffinityEnabled": false, | |
"clientCertEnabled": false, | |
"clientCertMode": "Required", | |
"containerSize": 1536, | |
"dailyMemoryTimeQuota": 0, | |
"eligibleLogCategories": "FunctionAppLogs", | |
"enabled": true, | |
"ftpUsername": "lzrsstwitter-app-dev-001\\$lzrsstwitter-app-dev-001", | |
"ftpsHostName": "ftps://waws-prod-am2-409.ftp.azurewebsites.windows.net/site/wwwroot", | |
"hostNamesDisabled": false, | |
"httpsOnly": true, | |
"keyVaultReferenceIdentity": "SystemAssigned", | |
"name": "lzrsstwitter-app-dev-001", | |
"redundancyMode": "None", | |
"reserved": true, | |
"runtimeAvailabilityState": "Normal", | |
"scmSiteAlsoStopped": false, | |
"serverFarmId": "/subscriptions/31629f13-425a-4a2d-ae00-f17bb9391120/resourceGroups/lzrsstwitter-rg-dev-001/providers/Microsoft.Web/serverfarms/lzrsstwitter-plan-dev-001", | |
"siteConfig": { | |
"acrUseManagedIdentityCreds": false, | |
"alwaysOn": false, | |
"appSettings": "*******", | |
"functionAppScaleLimit": 200, | |
"http20Enabled": false, | |
"linuxFxVersion": "Node|16", | |
"localMySqlEnabled": false, | |
"minimumElasticInstanceCount": 0, | |
"netFrameworkVersion": "v4.6", | |
"numberOfWorkers": 1 | |
}, | |
"storageAccountRequired": false, | |
"storageRecoveryDefaultState": "Running", | |
"vnetRouteAllEnabled": false | |
}, | |
"resourceGroup": "lzrsstwitter-rg-dev-001", | |
"type": "Microsoft.Web/sites" | |
}, | |
"before": { | |
"apiVersion": "2020-06-01", | |
"id": "/subscriptions/31629f13-425a-4a2d-ae00-f17bb9391120/resourceGroups/lzrsstwitter-rg-dev-001/providers/Microsoft.Web/sites/lzrsstwitter-app-dev-001", | |
"kind": "functionapp,linux", | |
"location": "westeurope", | |
"name": "lzrsstwitter-app-dev-001", | |
"properties": { | |
"clientAffinityEnabled": false, | |
"clientCertEnabled": false, | |
"clientCertMode": "Required", | |
"containerSize": 1536, | |
"dailyMemoryTimeQuota": 0, | |
"eligibleLogCategories": "FunctionAppLogs", | |
"enabled": true, | |
"ftpUsername": "lzrsstwitter-app-dev-001\\$lzrsstwitter-app-dev-001", | |
"ftpsHostName": "ftps://waws-prod-am2-409.ftp.azurewebsites.windows.net/site/wwwroot", | |
"hostNamesDisabled": false, | |
"httpsOnly": true, | |
"keyVaultReferenceIdentity": "SystemAssigned", | |
"name": "lzrsstwitter-app-dev-001", | |
"redundancyMode": "None", | |
"reserved": true, | |
"runtimeAvailabilityState": "Normal", | |
"scmSiteAlsoStopped": false, | |
"serverFarmId": "/subscriptions/31629f13-425a-4a2d-ae00-f17bb9391120/resourceGroups/lzrsstwitter-rg-dev-001/providers/Microsoft.Web/serverfarms/lzrsstwitter-plan-dev-001", | |
"siteConfig": { | |
"acrUseManagedIdentityCreds": false, | |
"alwaysOn": false, | |
"appSettings": "*******", | |
"functionAppScaleLimit": 200, | |
"http20Enabled": false, | |
"linuxFxVersion": "Node|16", | |
"minimumElasticInstanceCount": 0, | |
"numberOfWorkers": 1 | |
}, | |
"storageAccountRequired": false, | |
"storageRecoveryDefaultState": "Running", | |
"vnetRouteAllEnabled": false | |
}, | |
"resourceGroup": "lzrsstwitter-rg-dev-001", | |
"type": "Microsoft.Web/sites" | |
}, | |
"changeType": "Modify", | |
"delta": [ | |
{ | |
"after": false, | |
"before": null, | |
"children": null, | |
"path": "properties.siteConfig.localMySqlEnabled", | |
"propertyChangeType": "Create" | |
}, | |
{ | |
"after": "v4.6", | |
"before": null, | |
"children": null, | |
"path": "properties.siteConfig.netFrameworkVersion", | |
"propertyChangeType": "Create" | |
} | |
], | |
"resourceId": "/subscriptions/31629f13-425a-4a2d-ae00-f17bb9391120/resourceGroups/lzrsstwitter-rg-dev-001/providers/Microsoft.Web/sites/lzrsstwitter-app-dev-001", | |
"unsupportedReason": null | |
} | |
], | |
"error": null, | |
"status": "Succeeded" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS> az deployment sub what-if --location westeurope --template-file ./bicep/main.bicep | |
Note: The result may contain false positive predictions (noise). | |
You can help us improve the accuracy of the result by opening an issue here: https://aka.ms/WhatIfIssues | |
Resource and property changes are indicated with this symbol: | |
+ Create | |
The deployment will update the following scopes | |
Scope: /subscriptions/31629f13-425a-4a2d-ae00-f17bb9391120 | |
+ resourceGroups/lzrsstwitter-rg-dev-001 [2021-04-01] | |
apiVersion: "2021-04-01" | |
id: "/subscriptions/31629f13-425a-4a2d-ae00-f17bb9391120/resourceGroups/lzrsstwitter-rg-dev-001" | |
location: "westeurope" | |
name: "lzrsstwitter-rg-dev-001" | |
tags.application: "lzrsstwitter" | |
tags.environment: "dev" | |
tags.nubesgen-version: "0.11.2" | |
type: "Microsoft.Resources/resourceGroups" | |
Scope: /subscriptions/31629f13-425a-4a2d-ae00-f17bb9391120/resourceGroups/lzrsstwitter-rg-dev-001 | |
+ Microsoft.Storage/storageAccounts/lzrsstdev001 [2019-06-01] | |
apiVersion: "2019-06-01" | |
id: "/subscriptions/31629f13-425a-4a2d-ae00-f17bb9391120/resourceGroups/lzrsstwitter-rg-dev-001/providers/Microsoft.Storage/storageAccounts/lzrsstdev001" | |
kind: "StorageV2" | |
location: "westeurope" | |
name: "lzrsstdev001" | |
sku.name: "Standard_LRS" | |
tags.application: "lzrsstwitter" | |
tags.environment: "dev" | |
tags.nubesgen-version: "0.11.2" | |
type: "Microsoft.Storage/storageAccounts" | |
+ Microsoft.Web/serverfarms/lzrsstwitter-plan-dev-001 [2020-10-01] | |
apiVersion: "2020-10-01" | |
id: "/subscriptions/31629f13-425a-4a2d-ae00-f17bb9391120/resourceGroups/lzrsstwitter-rg-dev-001/providers/Microsoft.Web/serverfarms/lzrsstwitter-plan-dev-001" | |
kind: "functionapp" | |
location: "westeurope" | |
name: "lzrsstwitter-plan-dev-001" | |
properties.reserved: true | |
sku.name: "Y1" | |
tags.application: "lzrsstwitter" | |
tags.environment: "dev" | |
tags.nubesgen-version: "0.11.2" | |
type: "Microsoft.Web/serverfarms" | |
+ Microsoft.Web/sites/lzrsstwitter-app-dev-001 [2020-06-01] | |
apiVersion: "2020-06-01" | |
id: "/subscriptions/31629f13-425a-4a2d-ae00-f17bb9391120/resourceGroups/lzrsstwitter-rg-dev-001/providers/Microsoft.Web/sites/lzrsstwitter-app-dev-001" | |
kind: "functionapp,linux" | |
location: "westeurope" | |
name: "lzrsstwitter-app-dev-001" | |
properties.clientAffinityEnabled: false | |
properties.httpsOnly: true | |
properties.serverFarmId: "/subscriptions/31629f13-425a-4a2d-ae00-f17bb9391120/resourceGroups/lzrsstwitter-rg-dev-001/providers/Microsoft.Web/serverfarms/lzrsstwitter-plan-dev-001" | |
properties.siteConfig: "*******" | |
type: "Microsoft.Web/sites" | |
Resource changes: 4 to create. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS> az deployment sub what-if --location westeurope --template-file ./bicep/main.bicep --no-pretty-print | |
{ | |
"changes": [ | |
{ | |
"after": { | |
"apiVersion": "2021-04-01", | |
"id": "/subscriptions/31629f13-425a-4a2d-ae00-f17bb9391120/resourceGroups/lzrsstwitter-rg-dev-001", | |
"location": "westeurope", | |
"name": "lzrsstwitter-rg-dev-001", | |
"tags": { | |
"application": "lzrsstwitter", | |
"environment": "dev", | |
"nubesgen-version": "0.11.2" | |
}, | |
"type": "Microsoft.Resources/resourceGroups" | |
}, | |
"before": null, | |
"changeType": "Create", | |
"delta": null, | |
"resourceId": "/subscriptions/31629f13-425a-4a2d-ae00-f17bb9391120/resourceGroups/lzrsstwitter-rg-dev-001", | |
"unsupportedReason": null | |
}, | |
{ | |
"after": { | |
"apiVersion": "2019-06-01", | |
"id": "/subscriptions/31629f13-425a-4a2d-ae00-f17bb9391120/resourceGroups/lzrsstwitter-rg-dev-001/providers/Microsoft.Storage/storageAccounts/lzrsstdev001", | |
"kind": "StorageV2", | |
"location": "westeurope", | |
"name": "lzrsstdev001", | |
"resourceGroup": "lzrsstwitter-rg-dev-001", | |
"sku": { | |
"name": "Standard_LRS" | |
}, | |
"tags": { | |
"application": "lzrsstwitter", | |
"environment": "dev", | |
"nubesgen-version": "0.11.2" | |
}, | |
"type": "Microsoft.Storage/storageAccounts" | |
}, | |
"before": null, | |
"changeType": "Create", | |
"delta": null, | |
"resourceId": "/subscriptions/31629f13-425a-4a2d-ae00-f17bb9391120/resourceGroups/lzrsstwitter-rg-dev-001/providers/Microsoft.Storage/storageAccounts/lzrsstdev001", | |
"unsupportedReason": null | |
}, | |
{ | |
"after": { | |
"apiVersion": "2020-10-01", | |
"id": "/subscriptions/31629f13-425a-4a2d-ae00-f17bb9391120/resourceGroups/lzrsstwitter-rg-dev-001/providers/Microsoft.Web/serverfarms/lzrsstwitter-plan-dev-001", | |
"kind": "functionapp", | |
"location": "westeurope", | |
"name": "lzrsstwitter-plan-dev-001", | |
"properties": { | |
"reserved": true | |
}, | |
"resourceGroup": "lzrsstwitter-rg-dev-001", | |
"sku": { | |
"name": "Y1" | |
}, | |
"tags": { | |
"application": "lzrsstwitter", | |
"environment": "dev", | |
"nubesgen-version": "0.11.2" | |
}, | |
"type": "Microsoft.Web/serverfarms" | |
}, | |
"before": null, | |
"changeType": "Create", | |
"delta": null, | |
"resourceId": "/subscriptions/31629f13-425a-4a2d-ae00-f17bb9391120/resourceGroups/lzrsstwitter-rg-dev-001/providers/Microsoft.Web/serverfarms/lzrsstwitter-plan-dev-001", | |
"unsupportedReason": null | |
}, | |
{ | |
"after": { | |
"apiVersion": "2020-06-01", | |
"id": "/subscriptions/31629f13-425a-4a2d-ae00-f17bb9391120/resourceGroups/lzrsstwitter-rg-dev-001/providers/Microsoft.Web/sites/lzrsstwitter-app-dev-001", | |
"kind": "functionapp,linux", | |
"location": "westeurope", | |
"name": "lzrsstwitter-app-dev-001", | |
"properties": { | |
"clientAffinityEnabled": false, | |
"httpsOnly": true, | |
"serverFarmId": "/subscriptions/31629f13-425a-4a2d-ae00-f17bb9391120/resourceGroups/lzrsstwitter-rg-dev-001/providers/Microsoft.Web/serverfarms/lzrsstwitter-plan-dev-001", | |
"siteConfig": "*******" | |
}, | |
"resourceGroup": "lzrsstwitter-rg-dev-001", | |
"type": "Microsoft.Web/sites" | |
}, | |
"before": null, | |
"changeType": "Create", | |
"delta": null, | |
"resourceId": "/subscriptions/31629f13-425a-4a2d-ae00-f17bb9391120/resourceGroups/lzrsstwitter-rg-dev-001/providers/Microsoft.Web/sites/lzrsstwitter-app-dev-001", | |
"unsupportedReason": null | |
} | |
], | |
"error": null, | |
"status": "Succeeded" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment