This file contains hidden or 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
var environmentConfigurationMap = { | |
Trial: { | |
StorageAccount: { | |
sku: { | |
name: 'Standard_B1ms' | |
} | |
} | |
} | |
} |
This file contains hidden or 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
@description('The Azure region into which the resources should be deployed.') | |
param location string = resourceGroup().location | |
param CustomerID string | |
@description('The type of environment.') | |
@allowed([ | |
'Trial' | |
'Small' | |
'Medium' |
This file contains hidden or 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
parameters: | |
runId: 0 | |
steps: | |
- task: PowerShell@2 | |
displayName: Deploying Storage Account | |
inputs: | |
targetType: 'inline' | |
script: | | |
Write-Output "Inline Script" |
This file contains hidden or 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
parameters: | |
- name : region | |
displayName: Which region to deploy to. | |
type: string | |
values: | |
- 'Germany West Central' | |
- 'West Europe' | |
- name : environment | |
displayName: Environment to deploy. | |
type: string |
This file contains hidden or 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
parameters: | |
runId: 0 | |
azureResourceManagerConnection: '' | |
subscriptionId: '' | |
artifactName: '' | |
resourcesLocation: '' | |
deployKeyVault: false | |
deployStorage: false | |
deployManagement: false | |
deployDashboards: false |
This file contains hidden or 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
$Accept = 'application/json' | |
$AuthHeaders = @{ | |
accept = $Accept | |
} | |
$Body = @{ | |
refresh_token = '<Insert Your Own API Key Here>' | |
} | |
$AuthResponseSplat = @{ | |
Method = "Post" | |
Uri = "https://console.cloud.vmware.com/csp/gateway/am/api/auth/api-tokens/authorize" |