-
Notifications
You must be signed in to change notification settings - Fork 4k
PolicyInsights RP GA version of cmdlets #6375
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…ording) * Upgrade PolicyInsights package to latest. * Add new property in the latest API version to the contract. * Limit recording size; change hardcoded resource names for re-recording
…mes from functions in common
…tions/assignments
@@ -19,6 +19,11 @@ | |||
--> | |||
## Current Release | |||
|
|||
## Version 1.0.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this... the version number will be added by the versioning tool, just leave the latest changes under Current Release
@bulentelmaci can you add the policy insignts module as a required module in the AzureRM psd1. We need this since the module is now going to be a BA module and needs to be packaged with AzureRM. |
<Private>True</Private> | ||
</Reference> | ||
<Reference Include="Microsoft.Rest.ClientRuntime, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> | ||
<HintPath>..\..\..\packages\Microsoft.Rest.ClientRuntime.2.3.10\lib\net452\Microsoft.Rest.ClientRuntime.dll</HintPath> | ||
<HintPath>..\..\..\packages\Microsoft.Rest.ClientRuntime.2.3.11\lib\net452\Microsoft.Rest.ClientRuntime.dll</HintPath> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Microsoft.Rest.ClientRuntime, Microsoft.Rest.ClientRuntime.Azure and Newtonsoft.Json shouldn't be in the .csproj or packages.config files since they are referenced elsewhere.
For example, every .csproj file should have a reference to the following file at the bottom of their file
Here's an example of a .csproj file referencing this file
@@ -13,8 +13,8 @@ | |||
<package id="Microsoft.Data.Services.Client" version="5.6.4" targetFramework="net45" /> | |||
<package id="Microsoft.IdentityModel.Clients.ActiveDirectory" version="2.28.3" targetFramework="net45" /> | |||
<package id="Microsoft.Net.Http" version="2.2.28" targetFramework="net452" /> | |||
<package id="Microsoft.Rest.ClientRuntime" version="2.3.10" targetFramework="net452" /> | |||
<package id="Microsoft.Rest.ClientRuntime.Azure" version="3.3.10" targetFramework="net452" /> | |||
<package id="Microsoft.Rest.ClientRuntime" version="2.3.11" targetFramework="net452" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Microsoft.Rest.ClientRuntime, Microsoft.Rest.ClientRuntime.Azure and Newtonsoft.Json shouldn't be in the .csproj or packages.config files since they are referenced elsewhere.
For example, every .csproj file should have a reference to the following file at the bottom of their file
Here's an example of a .csproj file referencing this file
<Private>True</Private> | ||
</Reference> | ||
<Reference Include="Microsoft.Rest.ClientRuntime, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> | ||
<HintPath>..\..\..\packages\Microsoft.Rest.ClientRuntime.2.3.10\lib\net452\Microsoft.Rest.ClientRuntime.dll</HintPath> | ||
<HintPath>..\..\..\packages\Microsoft.Rest.ClientRuntime.2.3.11\lib\net452\Microsoft.Rest.ClientRuntime.dll</HintPath> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Microsoft.Rest.ClientRuntime, Microsoft.Rest.ClientRuntime.Azure and Newtonsoft.Json shouldn't be in the .csproj or packages.config files since they are referenced elsewhere.
For example, every .csproj file should have a reference to the following file at the bottom of their file
Here's an example of a .csproj file referencing this file
<package id="Microsoft.Rest.ClientRuntime" version="2.3.10" targetFramework="net452" /> | ||
<package id="Microsoft.Rest.ClientRuntime.Azure" version="3.3.10" targetFramework="net452" /> | ||
<package id="Microsoft.Azure.Management.PolicyInsights" version="1.0.0" targetFramework="net452" /> | ||
<package id="Microsoft.Rest.ClientRuntime" version="2.3.11" targetFramework="net452" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Microsoft.Rest.ClientRuntime, Microsoft.Rest.ClientRuntime.Azure and Newtonsoft.Json shouldn't be in the .csproj or packages.config files since they are referenced elsewhere.
@bulentelmaci you need to fix the version of the SDK library for the netcore csproj as well |
…sights into AzureRM.Netcore PSD1
@@ -140,5 +252,5 @@ function Assert-NotNullOrEmpty | |||
param([string]$value) | |||
|
|||
Assert-NotNull $value | |||
Assert-AreNotEqual $value "" | |||
Assert-True { $value -ne "" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you use :
[string]::IsNullOrEmpty(...)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh much better. Will do
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bulentelmaci just a minor nitpick… otherwise LGTM
@praries880 Good to go now? |
Description
PolicyInsights RP GA version of cmdlets:
Checklist
CONTRIBUTING.md
platyPS
module