Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line numberDiff line numberDiff line change
Expand Up@@ -51,7 +51,7 @@ function Get-UserWorkspace
[Parameter(Mandatory=$true)][string] $WorkspaceName
)

$workspace = Get-AzOperationalInsightsWorkspace -ResourceGroupName $rgNameWorkspace -Name $workspaceName
$workspace = Get-AzOperationalInsightsWorkspace -ResourceGroupName $ResourceGroupName -Name $WorkspaceName
return $workspace
}

Expand DownExpand Up@@ -123,7 +123,7 @@ function Get-DCRArmTemplate
[Parameter(Mandatory=$true)][string] $FolderPath
)

$dcrJson = Get-DCRJson -ResourceGroupName $rgNameWorkspace -WorkspaceName $workspaceName -PlatformType $PlatformType
$dcrJson = Get-DCRJson -ResourceGroupName $ResourceGroupName -WorkspaceName $WorkspaceName -PlatformType $PlatformType

#ARM Template File
$schema = "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#"
Expand DownExpand Up@@ -597,10 +597,7 @@ function Get-DataFlows


Connect-AzAccount
Select-AzSubscription -Subscription $subId

$rgNameWorkspace = 'rg-jamui-workspace'
$workspaceName = 'workspace-jamui-1'
Select-AzSubscription -Subscription $SubscriptionId

Write-Output "Subscription Id: $($SubscriptionId)"
Write-Output "Resource Group: $($ResourceGroupName)"
Expand Down
Loading