Skip to content

Latest commit

 

History

History
113 lines (83 loc) · 4.4 KB

Deploy-FinOpsHub.md

File metadata and controls

113 lines (83 loc) · 4.4 KB
layout grand_parent parent title nav_order description permalink
default
PowerShell
FinOps hubs
Deploy-FinOpsHub
1
Deploys a FinOps hub instance.
/powershell/hubs/Deploy-FinOpsHub

Deploy-FinOpsHub Deploys a FinOps hub instance. {: .fs-6 .fw-300 }

Syntax{: .btn .btn-primary .fs-5 .mb-4 .mb-md-0 .mr-4 } Examples{: .btn .fs-5 .mb-4 .mb-md-0 .mr-4 }

On this page

The Deploy-FinOpsHub command either creates a new or updates an existing FinOps hub instance by deploying an Azure Resource Manager deployment template. The FinOps hub template is downloaded from GitHub. To learn more about the template, see the FinOps hub template.

Deploy-FinOpsHub calls Initialize-FinOpsHubDeployment before deploying the template.


🧮 Syntax

Deploy-FinOpsHub `
    -Name <string> `
    -ResourceGroup <string> `
    -Location <string> `
    [-KeyVaultId <string>] `
    [-Version <string>] `
    [-Preview] `
    [-StorageSku <string>] `
    [-Tags <object>] `
    [<CommonParameters>]

📥 Parameters

Name Description
‑Name Required. Name of the FinOps hub instance.
‑ResourceGroup Required. Name of the resource group to deploy to. Will be created if it doesn't exist.
‑Location Required. Azure location to execute the deployment from.
‑Version Optional. Version of the FinOps hub template to use. Default = "latest".
‑KeyVaultId Optional. Resource ID of the existing Key Vault instance to use. If not specified, one will be created.
‑Preview Optional. Indicates that preview releases should also be included. Default = false.
‑StorageSku Optional. Storage account SKU. Premium_LRS = Lowest cost, Premium_ZRS = High availability. Note Standard SKUs are not available for Data Lake gen2 storage. Default = "Premium_LRS".
‑Tags Optional. Tags for all resources.

🌟 Examples

Deploy latest version

Deploy-FinOpsHub `
    -Name MyHub `
    -ResourceGroup MyNewResourceGroup `
    -Location westus

Deploys a new FinOps hub instance named MyHub to a new resource group named MyNewResourceGroup.

Deploy specific version

Deploy-FinOpsHub `
    -Name MyHub `
    -ResourceGroup MyExistingResourceGroup `
    -Location westus `
    -Version {% include version.txt %}

Deploys a new FinOps hub instance named MyHub to a new resource group named MyNewResourceGroup using version {% include version.txt %} of the template.

Use existing Key Vault instance

Deploy-FinOpsHub `
    -Name MyHub `
    -ResourceGroupName MyExistingResourceGroup `
    -Location westus `
    -KeyVaultId "/subscriptions/###/resourceGroups/###/providers/Microsoft.KeyVault/vaults/foo"

Deploys a new FinOps hub instance named MyHub using an existing Key Vault instance.



🧰 Related tools

{% include tools.md hubs="1" pbi="1" %}