Skip to content

Commit 2ed98d1

Browse files
committed
Merge pull request #294 from Azure/clu
Clu
2 parents 9be53f0 + bac8da6 commit 2ed98d1

File tree

35 files changed

+380
-109
lines changed

35 files changed

+380
-109
lines changed
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
Param(
2-
[string]$resourceGroupName,
3-
[string]$resourceGroupLocation
2+
[string]$groupName,
3+
[string]$location
44
)
55

66
Write-Host "=== Managing Resource Groups in Azure ==="
77

88
Write-Host "1. Create a new resource group"
9-
New-AzureRmResourceGroup -Name $resourceGroupName -Location $resourceGroupLocation
9+
New-AzureRmResourceGroup -Name $groupName -Location $location
1010

1111
Write-Host "2. Update group tags"
12-
Set-AzureRmResourceGroup -Name $resourceGroupName -Tags @{Name = "testtag"; Value = "testval"}
12+
Set-AzureRmResourceGroup -Name $groupName -Tags @{Name = "testtag"; Value = "testval"}
1313

1414
Write-Host "3. Get information about resource group"
15-
$resourceGroup = Get-AzureRmResourceGroup -Name $resourceGroupName
15+
$resourceGroup = Get-AzureRmResourceGroup -Name $groupName
1616
Write-Host $resourceGroup
1717

1818
Write-Host "4. List all resource groups in the subscription"
1919
Get-AzureRmResourceGroup
2020

2121
Write-Host "5. Remove resource group"
22-
Remove-AzureRmResourceGroup -Name $resourceGroupName -Force
22+
Remove-AzureRmResourceGroup -Name $groupName -Force
2323

2424
Write-Host "6. Validations"
25-
Assert-AreEqual $resourceGroup.ResourceGroupName $resourceGroupName
25+
Assert-AreEqual $resourceGroup.ResourceGroupName $groupName
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
#!/bin/bash
2+
set -e
3+
printf "\n=== Managing Resources in Azure ===\n"
4+
5+
printf "\n1. Creating a new resource group: %s and location: %s.\n" "$groupName" "$location"
6+
azure group create --name "$groupName" --location "$location"
7+
resourceName="CluResource"
8+
destinationGroupName=$groupName"Destination"
9+
10+
printf "\n2. Registering Resource Provider Namespace.\n"
11+
providerNamespace="Providers.Test"
12+
azure resource provider register --ProviderNamespace $providerNamespace --Force
13+
14+
printf "\n3. Creating a new Resource: %s.\n" "$resourceName"
15+
resourceType="$providerNamespace/statefulResources"
16+
tags='[{"Name": "testtag", "Value": "testvalue"}]'
17+
properties='{"administratorLogin": "adminuser", "administratorLoginPassword": "P@ssword1"}'
18+
apiversion="2014-04-01"
19+
azure resource create --Name $resourceName --Location $location --Tags "$tags" --ResourceGroupName $groupName --ResourceType $resourceType --PropertyObject "$properties" --ApiVersion $apiversion --Force
20+
21+
printf "\n4. Get information about Resource : %s.\n" "$resourceName"
22+
resourceInfo=$(azure resource get -n $resourceName)
23+
printf "\nValidating Resource name is: %s\n" "$resourceName"
24+
[ $(echo $resourceInfo | jq '.Name' --raw-output) == "$resourceName" ]
25+
26+
printf "\n5. Find Resource with name = %s and type =.\n" "$resourceName" "$resourceType"
27+
foundResource=$(azure resource find -n "clu" -t $resourceType)
28+
printf "\nValidating Resource name is: %s\n" "$resourceName"
29+
[ $(echo $foundResource | jq '.Name' --raw-output) == "$resourceName" ]
30+
31+
printf "\n6. Update Resource.\n"
32+
tagsUpdate='[{"Name": "testtagUpdated", "Value": "testvalueUpdated"}]'
33+
azure resource set --ResourceGroupName $groupName --ResourceName $resourceName --ResourceType $resourceType --Tags "$tagsUpdate" -f
34+
35+
printf "\n7. Move Resource to resource group: %s.\n" "$destinationGroupName"
36+
azure group create --name "$destinationGroupName" --location "$location"
37+
resourceId=$(echo $resourceInfo | jq '.Id')
38+
arrayId="[$resourceId]"
39+
azure resource move -g "$destinationGroupName" --ResourceId "$arrayId" -f
40+
41+
printf "\n8. Removing resource: %s.\n" "$resourceName"
42+
foundResource=$(azure resource find -n "clu" -t $resourceType)
43+
resourceId=$(echo $foundResource | jq '.Id' --raw-output)
44+
azure resource remove --Id "$resourceId" -f
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Param(
2+
[string]$groupName,
3+
[string]$location
4+
)
5+
6+
Write-Host "=== Managing Role Assignments in Azure ==="
7+
8+
Write-Host "1. Create a new resource group"
9+
New-AzureRmResourceGroup -Name $groupName -Location $location
10+
11+
Write-Host "2. Creating a new Role Assignment."
12+
$userId = ((Get-AzureRmADUser)[0]).Id
13+
$definitionId = ((Get-AzureRmRoleDefinition)[0]).Id
14+
$subscriptionId = (Get-AzureRmSubscription).SubscriptionId
15+
$scope="/subscriptions/" + $subscriptionId + "/resourceGroups/" + $groupName
16+
$roleAssignment = New-AzureRmRoleAssignment -ObjectId $userId -RoleDefinitionId $definitionId -Scope $scope
17+
18+
Write-Host "3. Delete last created Role Assignment."
19+
Remove-AzureRmRoleAssignment -ObjectId $roleAssignment.ObjectId -Scope $scope -RoleDefinitionId $definitionId -f
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/bin/bash
2+
set -e
3+
printf "\n=== Managing Role Assignments in Azure ===\n"
4+
5+
printf "\n1. Creating a new resource group: %s and location: %s.\n" "$groupName" "$location"
6+
azure group create --name "$groupName" --location "$location"
7+
8+
printf "\n2. Creating a new Role Assignment.\n"
9+
users=$(azure ad users get)
10+
userId=$(echo $users | cat | jq '.[0].Id' -s --raw-output)
11+
roleDefinitions=$(azure role definition get)
12+
roleDefinitionId=$(echo $roleDefinitions | cat | jq '.[0].Id' -s --raw-output)
13+
subsciptions=$(azure subscription get)
14+
subscriptionId=$(echo $subsciptions | cat | jq '.[0].SubscriptionId' -s --raw-output)
15+
scope="/subscriptions/$subscriptionId/resourceGroups/$groupName"
16+
azure role assignment create --ObjectId "$userId" --RoleDefinitionId "$roleDefinitionId" --Scope "$scope"
17+
18+
printf "\n3. Delete last created Role Assignment.\n"
19+
assignments=$(azure role assignment get)
20+
assignmentId=$(echo $assignments | cat | jq '.[-1].ObjectId' -s --raw-output)
21+
azure role assignment remove --ObjectId "$assignmentId" --Scope "$scope" --RoleDefinitionId "$roleDefinitionId" -f
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
Param(
2+
[string]$groupName,
3+
[string]$location
4+
)
5+
6+
Write-Host "=== Managing Role Definitions in Azure ==="
7+
8+
Write-Host "1. Create a new resource group"
9+
New-AzureRmResourceGroup -Name $groupName -Location $location
10+
11+
Write-Host "2. Creating a new Role Definition."
12+
$rd = New-AzureRmRoleDefinition -InputFile roleDefinition.json
13+
14+
Write-Host "3. Get information about Role Definitions."
15+
Get-AzureRmRoleDefinition -Name $rd.Name
16+
17+
Write-Host "4. Update Role Definition."
18+
$rd.Actions.Add('Microsoft.Authorization/*/write')
19+
$updatedRd = Set-AzureRmRoleDefinition -Role $rd
20+
Assert-NotNull $updatedRd
21+
22+
Write-Host "5. Delete Role Definition."
23+
Remove-AzureRmRoleDefinition -Id $rd.Id -Force -PassThru
24+
$readRd = Get-AzureRmRoleDefinition -Name $rd.Name
25+
Assert-Null $readRd
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/bin/bash
2+
set -e
3+
printf "\n=== Managing Role Definitions in Azure ===\n"
4+
5+
printf "\n1. Creating a new resource group: %s and location: %s.\n" "$groupName" "$location"
6+
azure group create --name "$groupName" --location "$location"
7+
8+
printf "\n2. Creating a new Role Definition.\n"
9+
roleDefinition=$(azure role definition create --inputfile $BASEDIR/resource-management/roleDefinition.json)
10+
11+
printf "\n3. Get information about Role Definitions.\n"
12+
roleDefinitionName=$(echo $roleDefinition | jq '.Name' --raw-output)
13+
azure role definition get -n $roleDefinitionName
14+
15+
printf "\n4. Update Role Definition.\n"
16+
updatedRoleDefinition=$(echo $roleDefinition | jq '.Actions |= .+ ["Microsoft.Authorization/*/write"]')
17+
azure role definition set --Role "$updatedRoleDefinition"
18+
19+
printf "\n5. Delete Role Definition.\n"
20+
roleDefinitionId=$(echo $roleDefinition | jq '.Id' --raw-output)
21+
azure role definition remove --Id $roleDefinitionId --PassThru -f
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"Name": "CluRoleDefinition",
3+
"Description": "Super awesome Clu Role Definition",
4+
"Actions": [
5+
"Microsoft.Authorization/*/read",
6+
"Microsoft.Support/*"
7+
],
8+
"NotActions": [],
9+
"AssignableScopes": [ "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115" ]
10+
}

src/CLU/Commands.Common.Authentication/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"System.Linq": "4.0.1-beta-23516",
1919
"Microsoft.CLU": "1.0.0",
2020
"Microsoft.IdentityModel.Clients.ActiveDirectory": "3.6.212041202-alpha",
21-
"Microsoft.Rest.ClientRuntime": "1.9.0",
21+
"Microsoft.Rest.ClientRuntime": "1.8.2",
2222
"Microsoft.Rest.ClientRuntime.Azure.Authentication": "1.2.1-preview",
2323
"Newtonsoft.Json": "7.0.1",
2424
"System.Collections": "4.0.11-beta-23516",

src/CLU/Commands.Common.ScenarioTest/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"Microsoft.Azure.Management.Resources": "3.3.0-preview",
2525
"Microsoft.Extensions.Logging.Console": "1.0.0-rc1-final",
2626
"Microsoft.IdentityModel.Clients.ActiveDirectory": "3.6.212041202-alpha",
27-
"Microsoft.Rest.ClientRuntime.Azure": "2.6.0",
27+
"Microsoft.Rest.ClientRuntime.Azure": "2.5.4",
2828
"Microsoft.Rest.ClientRuntime.Azure.Authentication": "1.2.1-preview",
2929
"Newtonsoft.Json": "7.0.1",
3030
"System.Collections": "4.0.11-beta-23516",

src/CLU/Commands.Common.Storage/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"Commands.Common": "",
2121
"Commands.Common.Authentication": "",
2222
"Microsoft.IdentityModel.Clients.ActiveDirectory": "3.6.212041202-alpha",
23-
"Microsoft.Rest.ClientRuntime": "1.9.0",
23+
"Microsoft.Rest.ClientRuntime": "1.8.2",
2424
"Newtonsoft.Json": "7.0.1",
2525
"System.Collections": "4.0.11-beta-23516",
2626
"System.Collections.Concurrent": "4.0.11-beta-23516",

src/CLU/Commands.Common/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"Microsoft.CLU": "1.0.0",
2020
"Commands.Common.Authentication": "",
2121
"Microsoft.IdentityModel.Clients.ActiveDirectory": "3.6.212041202-alpha",
22-
"Microsoft.Rest.ClientRuntime": "1.9.0",
22+
"Microsoft.Rest.ClientRuntime": "1.8.2",
2323
"Newtonsoft.Json": "7.0.1",
2424
"System.Collections": "4.0.11-beta-23516",
2525
"System.Collections.Concurrent": "4.0.11-beta-23516",

src/CLU/Commands.ResourceManager.Cmdlets/Extensions/JTokenExtensions.cs

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,15 @@ internal static PSObject ToPsObject(this JToken jtoken)
5454
{
5555
return null;
5656
}
57-
58-
// TODO CORECLR does not exist in coreclr50
59-
/*if (jtoken.Type != JTokenType.Object)
57+
58+
if (jtoken.Type != JTokenType.Object)
6059
{
61-
return new PSObject(JTokenExtensions.ConvertPropertyValueForPsObject(propertyValue: jtoken));
62-
}*/
60+
var retObject = new PSObject();
61+
retObject.Properties.Add(new PSNoteProperty(
62+
name: JTokenExtensions.ConvertToPascalCase(propertyName: jtoken.Type.ToString()),
63+
value: JTokenExtensions.ConvertPropertyValueForPsObject(propertyValue: jtoken)));
64+
return retObject;
65+
}
6366

6467
var jobject = (JObject)jtoken;
6568
var psObject = new PSObject();

src/CLU/Commands.ResourceManager.Cmdlets/Implementation/Resource/GetAzureResourceCmdlet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public sealed class GetAzureResourceCmdlet : ResourceManagerCmdletBase
8888
/// <summary>
8989
/// Gets or sets the resource name parameter.
9090
/// </summary>
91-
[Alias("Name")]
91+
[Alias("Name", "n")]
9292
[Parameter(ParameterSetName = GetAzureResourceCmdlet.GetTenantResourceParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The resource name. e.g. to specify a database MyServer/MyDatabase.")]
9393
[Parameter(ParameterSetName = GetAzureResourceCmdlet.ListTenantResourcesParameterSet, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The resource name. e.g. to specify a database MyServer/MyDatabase.")]
9494
[Parameter(ParameterSetName = GetAzureResourceCmdlet.GetResourceByNameGroupParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The resource name. e.g. to specify a database MyServer/MyDatabase.")]

src/CLU/Commands.ResourceManager.Cmdlets/Implementation/Resource/NewAzureResourceCmdlet.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,7 @@ public sealed class NewAzureResourceCmdlet : ResourceManipulationCmdletBase
7272
[ValidateNotNullOrEmpty]
7373
[Alias("sku")]
7474
public Hashtable SkuObject { get; set; }
75-
76-
75+
7776
/// <summary>
7877
/// Gets or sets the tags.
7978
/// </summary>

src/CLU/Commands.ResourceManager.Cmdlets/Implementation/ResourceManipulationCmdletBase.cs

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -107,21 +107,12 @@ public abstract class ResourceManipulationCmdletBase : ResourceManagerCmdletBase
107107
[Parameter(Mandatory = false, HelpMessage = "Do not ask for confirmation.")]
108108
[Alias("f")]
109109
public SwitchParameter Force { get; set; }
110-
111-
/// <summary>
112-
/// Gets or sets the subscription id.
113-
/// </summary>
114-
public Guid SubscriptionId { get; set; }
115-
110+
116111
/// <summary>
117112
/// Initializes the default subscription id if needed.
118113
/// </summary>
119114
public ResourceManipulationCmdletBase()
120115
{
121-
if (string.IsNullOrEmpty(this.ResourceId))
122-
{
123-
this.SubscriptionId = DefaultContext.Subscription.Id;
124-
}
125116
}
126117

127118
protected override void OnProcessRecord()
@@ -149,7 +140,7 @@ protected string GetResourceId()
149140
private string GetResourceIdWithoutParentResource()
150141
{
151142
return ResourceIdUtility.GetResourceId(
152-
subscriptionId: this.SubscriptionId,
143+
subscriptionId: DefaultContext.Subscription.Id,
153144
resourceGroupName: this.ResourceGroupName,
154145
resourceType: this.ResourceType,
155146
resourceName: this.ResourceName,

src/CLU/Commands.ResourceManager.Cmdlets/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"Commands.Common": "",
2222
"Commands.ResourceManager.Common": "",
2323
"Microsoft.IdentityModel.Clients.ActiveDirectory": "3.6.212041202-alpha",
24-
"Microsoft.Rest.ClientRuntime": "1.9.0",
24+
"Microsoft.Rest.ClientRuntime": "1.8.2",
2525
"Newtonsoft.Json": "7.0.1",
2626
"System.Collections": "4.0.11-beta-23516",
2727
"System.Collections.Concurrent": "4.0.11-beta-23516",

src/CLU/Commands.ResourceManager.Common/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"Commands.Common": "",
2121
"Commands.Common.Authentication": "",
2222
"Microsoft.IdentityModel.Clients.ActiveDirectory": "3.6.212041202-alpha",
23-
"Microsoft.Rest.ClientRuntime": "1.9.0",
23+
"Microsoft.Rest.ClientRuntime": "1.8.2",
2424
"Newtonsoft.Json": "7.0.1",
2525
"System.Collections": "4.0.11-beta-23516",
2626
"System.Collections.Concurrent": "4.0.11-beta-23516",

src/CLU/Commands.ScenarioTests.ResourceManager.Common/project.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
"Commands.ResourceManager.Common": "",
2323
"Microsoft.Azure.Management.Resources": "3.3.0-preview",
2424
"Microsoft.IdentityModel.Clients.ActiveDirectory": "3.6.212041202-alpha",
25-
"Microsoft.Rest.ClientRuntime": "1.9.0",
26-
"Microsoft.Rest.ClientRuntime.Azure": "2.6.0",
25+
"Microsoft.Rest.ClientRuntime": "1.8.2",
26+
"Microsoft.Rest.ClientRuntime.Azure": "2.5.4",
2727
"Microsoft.Rest.ClientRuntime.Azure.Authentication": "1.2.1-preview",
2828
"Newtonsoft.Json": "7.0.1",
2929
"System.Collections": "4.0.11-beta-23516",

src/CLU/Microsoft.Azure.Commands.Compute.Test/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"Microsoft.Azure.Management.Network": "3.0.3-preview",
2929
"Microsoft.Azure.Management.Storage": "4.0.0-preview",
3030
"Microsoft.IdentityModel.Clients.ActiveDirectory": "3.6.212041202-alpha",
31-
"Microsoft.Rest.ClientRuntime": "1.9.0",
31+
"Microsoft.Rest.ClientRuntime": "1.8.2",
3232
"Newtonsoft.Json": "7.0.1",
3333
"System.Collections": "4.0.11-beta-23516",
3434
"System.Collections.Concurrent": "4.0.11-beta-23516",

src/CLU/Microsoft.Azure.Commands.Compute/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"Commands.Common.Storage": "",
2323
"Commands.ResourceManager.Common": "",
2424
"Microsoft.IdentityModel.Clients.ActiveDirectory": "3.6.212041202-alpha",
25-
"Microsoft.Rest.ClientRuntime": "1.9.0",
25+
"Microsoft.Rest.ClientRuntime": "1.8.2",
2626
"Newtonsoft.Json": "7.0.1",
2727
"System.Collections": "4.0.11-beta-23516",
2828
"System.Collections.Concurrent": "4.0.11-beta-23516",

src/CLU/Microsoft.Azure.Commands.Management.Storage/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"Commands.Common.Storage": "",
2323
"Commands.ResourceManager.Common": "",
2424
"Microsoft.IdentityModel.Clients.ActiveDirectory": "3.6.212041202-alpha",
25-
"Microsoft.Rest.ClientRuntime": "1.9.0",
25+
"Microsoft.Rest.ClientRuntime": "1.8.2",
2626
"Newtonsoft.Json": "7.0.1",
2727
"System.Collections": "4.0.11-beta-23516",
2828
"System.Collections.Concurrent": "4.0.11-beta-23516",

src/CLU/Microsoft.Azure.Commands.Network/project.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
"Microsoft.Azure.Management.Resources": "3.3.0-preview",
2525
"Microsoft.Azure.Management.Network": "3.0.3-preview",
2626
"Microsoft.IdentityModel.Clients.ActiveDirectory": "3.6.212041202-alpha",
27-
"Microsoft.Rest.ClientRuntime": "1.9.0",
28-
"Microsoft.Rest.ClientRuntime.Azure": "2.6.0",
27+
"Microsoft.Rest.ClientRuntime": "1.8.2",
28+
"Microsoft.Rest.ClientRuntime.Azure": "2.5.4",
2929
"Microsoft.Rest.ClientRuntime.Azure.Authentication": "1.2.1-preview",
3030
"Newtonsoft.Json": "7.0.1",
3131
"System.Collections": "4.0.11-beta-23516",

src/CLU/Microsoft.Azure.Commands.Profile.Test/project.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
"Microsoft.Azure.Commands.Profile": "",
2525
"Microsoft.Azure.Management.Resources": "3.3.0-preview",
2626
"Microsoft.IdentityModel.Clients.ActiveDirectory": "3.6.212041202-alpha",
27-
"Microsoft.Rest.ClientRuntime": "1.9.0",
28-
"Microsoft.Rest.ClientRuntime.Azure": "2.6.0",
27+
"Microsoft.Rest.ClientRuntime": "1.8.2",
28+
"Microsoft.Rest.ClientRuntime.Azure": "2.5.4",
2929
"Microsoft.Rest.ClientRuntime.Azure.Authentication": "1.2.1-preview",
3030
"Newtonsoft.Json": "7.0.1",
3131
"System.Collections": "4.0.11-beta-23516",

src/CLU/Microsoft.Azure.Commands.Profile/project.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
"Commands.ResourceManager.Common": "",
2323
"Microsoft.Azure.Management.Resources": "3.3.0-preview",
2424
"Microsoft.IdentityModel.Clients.ActiveDirectory": "3.6.212041202-alpha",
25-
"Microsoft.Rest.ClientRuntime": "1.9.0",
26-
"Microsoft.Rest.ClientRuntime.Azure": "2.6.0",
25+
"Microsoft.Rest.ClientRuntime": "1.8.2",
26+
"Microsoft.Rest.ClientRuntime.Azure": "2.5.4",
2727
"Microsoft.Rest.ClientRuntime.Azure.Authentication": "1.2.1-preview",
2828
"Newtonsoft.Json": "7.0.1",
2929
"System.Collections": "4.0.11-beta-23516",

src/CLU/Microsoft.Azure.Commands.Resources.Test/project.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@
2222
"Commands.ScenarioTests.ResourceManager.Common": "",
2323
"Microsoft.Azure.Commands.Profile": "",
2424
"Microsoft.Azure.Commands.Resources": "",
25-
"Microsoft.Azure.Graph.RBAC": "2.1.0-preview",
26-
"Microsoft.Azure.Management.Authorization": "2.1.0-preview",
25+
"Microsoft.Azure.Graph.RBAC": "2.1.1-preview",
26+
"Microsoft.Azure.Management.Authorization": "2.3.0-preview",
2727
"Microsoft.Azure.Management.Resources": "3.3.0-preview",
2828
"Microsoft.IdentityModel.Clients.ActiveDirectory": "3.6.212041202-alpha",
29-
"Microsoft.Rest.ClientRuntime": "1.9.0",
30-
"Microsoft.Rest.ClientRuntime.Azure": "2.6.0",
29+
"Microsoft.Rest.ClientRuntime": "1.8.2",
30+
"Microsoft.Rest.ClientRuntime.Azure": "2.5.4",
3131
"Microsoft.Rest.ClientRuntime.Azure.Authentication": "1.2.1-preview",
3232
"Newtonsoft.Json": "7.0.1",
3333
"System.Collections": "4.0.11-beta-23516",

0 commit comments

Comments
 (0)