Skip to content

Commit 53881be

Browse files
author
Rajat Agrawal
committed
fixed AFC and Azure RG deployment get-azrmvmcustomscriptextension
1 parent c6fbc38 commit 53881be

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

Tasks/AzureFileCopy/Utility.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1259,7 +1259,7 @@ function Is-WinRMCustomScriptExtensionExists
12591259

12601260
if($customScriptExtension)
12611261
{
1262-
if($customScriptExtension.properties.ProvisioningState -ne "Succeeded")
1262+
if($customScriptExtension.ProvisioningState -ne "Succeeded")
12631263
{
12641264
$removeExtension = $true
12651265
}

Tasks/AzureFileCopy/task.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"version": {
1414
"Major": 1,
1515
"Minor": 0,
16-
"Patch": 77
16+
"Patch": 78
1717
},
1818
"demands": [
1919
"azureps"

Tasks/AzureFileCopy/task.loc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"version": {
1414
"Major": 1,
1515
"Minor": 0,
16-
"Patch": 77
16+
"Patch": 78
1717
},
1818
"demands": [
1919
"azureps"

Tasks/Common/VstsAzureRestHelpers_/VstsAzureRestHelpers_.psm1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,13 +289,13 @@ function Get-AzRmVmCustomScriptExtension
289289
{
290290
$customScriptExt=Invoke-RestMethod -Uri $uri -Method $method -Headers $headers
291291
Write-Verbose "No proxy settings"
292-
return $customScriptExt
292+
return $customScriptExt.properties
293293
}
294294
else
295295
{
296296
$customScriptExt=Invoke-RestMethod -Uri $uri -Method $method -Headers $headers -UseDefaultCredentials -Proxy $proxyUri -ProxyUseDefaultCredentials
297297
Write-Verbose "Using proxy settings"
298-
return $customScriptExt
298+
return $customScriptExt.properties
299299
}
300300
}
301301
catch

Tasks/DeployAzureResourceGroup/Utility.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -949,7 +949,7 @@ function Is-WinRMCustomScriptExtensionExists
949949

950950
if($customScriptExtension)
951951
{
952-
if($customScriptExtension.properties.ProvisioningState -ne "Succeeded")
952+
if($customScriptExtension.ProvisioningState -ne "Succeeded")
953953
{
954954
$removeExtension = $true
955955
}

Tasks/DeployAzureResourceGroup/task.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"version": {
1414
"Major": 1,
1515
"Minor": 0,
16-
"Patch": 88
16+
"Patch": 89
1717
},
1818
"demands": [
1919
"azureps"

Tasks/DeployAzureResourceGroup/task.loc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"version": {
1414
"Major": 1,
1515
"Minor": 0,
16-
"Patch": 88
16+
"Patch": 89
1717
},
1818
"demands": [
1919
"azureps"

0 commit comments

Comments
 (0)