-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
20,349 additions
and
20 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.2.1 | ||
0.3 |
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
{ | ||
"$schema": "https://schema.management.azure.com/schemas/0.1.2-preview/CreateUIDefinition.MultiVm.json#", | ||
"handler": "Microsoft.Azure.CreateUIDef", | ||
"version": "0.1.2-preview", | ||
"parameters": { | ||
"config": { | ||
"basics": { | ||
"description": "FinOps hubs are a reliable, trustworthy platform for cost analytics, insights, and optimization. Connect your hub to one or more billing accounts and subscriptions and build custom reports in Power BI or other tools. [Learn more](https://aka.ms/finops/hubs)", | ||
"location": { | ||
"label": "Location", | ||
"resourceTypes": ["Microsoft.DataFactory/factories", "Microsoft.KeyVault/vaults", "Microsoft.Storage/storageAccounts"] | ||
} | ||
} | ||
}, | ||
"resourceTypes": [ | ||
"Microsoft.DataFactory/factories", | ||
"Microsoft.KeyVault/vaults", | ||
"Microsoft.Storage/storageAccounts", | ||
"Microsoft.ManagedIdentity/userAssignedIdentities", | ||
"Microsoft.Resources/deploymentScripts" | ||
], | ||
"basics": [ | ||
{ | ||
"name": "hubName", | ||
"type": "Microsoft.Common.TextBox", | ||
"label": "Name", | ||
"defaultValue": "finops-hub", | ||
"toolTip": "Name of the hub. Used to ensure unique resource names.", | ||
"constraints": { | ||
"required": true, | ||
"regex": "^[a-zA-Z0-9][a-zA-Z0-9\\-]{0,61}[a-zA-Z0-9]$", | ||
"validationMessage": "Name must be between 3 and 63 characters long and can contain only lowercase letters, numbers, and hyphens. The first and last characters in the name must be alphanumeric." | ||
}, | ||
"visible": true | ||
}, | ||
{ | ||
"name": "storageSku", | ||
"type": "Microsoft.Common.DropDown", | ||
"label": "Storage redundancy", | ||
"defaultValue": "Locally-redundant (LRS) - Lowest cost", | ||
"toolTip": "The data in your storage account is always replicated to ensure durability and high availability. Choose a replication strategy that matches your durability requirements. [Learn more](https://go.microsoft.com/fwlink/?linkid=2163103)", | ||
"constraints": { | ||
"required": false, | ||
"allowedValues": [ | ||
{ | ||
"label": "Locally-redundant (LRS) - Lowest cost", | ||
"value": "Premium_LRS" | ||
}, | ||
{ | ||
"label": "Zone-redundant (ZRS) - High availability", | ||
"value": "Premium_ZRS" | ||
} | ||
] | ||
}, | ||
"visible": true | ||
} | ||
], | ||
"steps": [ | ||
{ | ||
"name": "tags", | ||
"label": "Tags", | ||
"elements": [ | ||
{ | ||
"name": "tagsByResource", | ||
"label": "Tags", | ||
"toolTip": "Tags to apply to resources.", | ||
"type": "Microsoft.Common.TagsByResource", | ||
"resources": [ | ||
"Microsoft.DataFactory/factories", | ||
"Microsoft.KeyVault/vaults", | ||
"Microsoft.Storage/storageAccounts", | ||
"Microsoft.ManagedIdentity/userAssignedIdentities", | ||
"Microsoft.Resources/deploymentScripts" | ||
] | ||
} | ||
] | ||
} | ||
], | ||
"outputs": { | ||
"hubName": "[basics('hubName')]", | ||
"location": "[location()]", | ||
"storageSku": "[basics('storageSku')]", | ||
"tagsByResource": "[steps('tags').tagsByResource]" | ||
} | ||
} | ||
} |
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
Oops, something went wrong.