Skip to content

Commit 5f3b643

Browse files
authored
Merge branch 'master' into bez/enableRbcAuthorization
2 parents fe99bc3 + 17cd174 commit 5f3b643

File tree

3,497 files changed

+1152001
-878080
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,497 files changed

+1152001
-878080
lines changed

.azure-pipelines/daily-build.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Please don't use ADO UI defined scheduled triggers because it takes precedence over YAML scheduled triggers.
2+
# https://docs.microsoft.com/en-us/azure/devops/pipelines/process/scheduled-triggers
3+
schedules:
4+
- cron: "0 0 * * *"
5+
displayName: Daily Midnight Build
6+
branches:
7+
include:
8+
- master
9+
10+
pr: none
11+
12+
pool:
13+
vmImage: 'windows-2019'
14+
15+
steps:
16+
- task: DotNetCoreCLI@2
17+
displayName: Build for Version Bump
18+
inputs:
19+
command: 'custom'
20+
custom: 'msbuild'
21+
arguments: 'build.proj'
22+
23+
- task: ComponentGovernanceComponentDetection@0
24+
displayName: Component Detection
25+
inputs:
26+
scanType: 'Register'
27+
verbosity: 'Normal'
28+
alertWarningLevel: 'High'

.azure-pipelines/powershell-core.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
displayName: Test
6464
dependsOn: Build
6565
condition: succeeded()
66-
timeoutInMinutes: 120
66+
timeoutInMinutes: 180
6767
strategy:
6868
matrix:
6969
windows:

.azure-pipelines/util/publish-artifacts-steps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ steps:
77
inputs:
88
artifactName: ${{ parameters.artifactName }}
99
targetPath: artifacts
10-
condition: succeededOrFailed()
10+
condition: always()

.azure-pipelines/util/test-steps.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,18 @@ steps:
99
parameters:
1010
osName: ${{ parameters.osName }}
1111

12+
- task: UseDotNet@2
13+
displayName: 'Use .NET Core sdk'
14+
inputs:
15+
packageType: sdk
16+
version: 2.1.x
17+
18+
- task: UseDotNet@2
19+
displayName: 'Use .NET Core sdk'
20+
inputs:
21+
packageType: sdk
22+
version: 3.1.x
23+
1224
- task: DotNetCoreCLI@2
1325
displayName: Test
1426
inputs:

.github/CODEOWNERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
# To make sure Network PRs go to the right branch, e.g. network-april
22
/src/Network/ @number213
3+
4+
/src/Compute/ @bilaakpan-ms @sandido @dkulkarni-ms @haagha @madewithsmiles @MS-syh2qs @grizzlytheodore

ChangeLog.md

Lines changed: 142 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,145 @@
1+
## 4.6.1 - August 2020
2+
#### Az.Compute
3+
* Patched '-EncryptionAtHost' parameter in 'New-AzVm' to remove default value of false [#12776]
4+
5+
## 4.6.0 - August 2020
6+
#### Az.Accounts
7+
* Loaded all public cloud environments when discovery endpoint doesn't return default AzureCloud or other public environments [#12633]
8+
* Exposed SubscriptionPolicies in 'Get-AzSubscription' [#12551]
9+
10+
#### Az.Automation
11+
* Added '-RunOn' parameters to 'Set-AzAutomationWebhook' to specify a Hybrid Worker Group
12+
13+
#### Az.Compute
14+
* Added '-EncryptionAtHost' parameter to 'New-AzVm', 'New-AzVmss', 'New-AzVMConfig', 'New-AzVmssConfig', 'Update-AzVM', and 'Update-AzVmss'
15+
* Added 'SecurityProfile' to 'Get-AzVM' and 'Get-AzVmss' return object
16+
* Added '-InstanceView' switch as optional parameter to 'Get-AzHostGroup'
17+
* Added new cmdlet 'Invoke-AzVmPatchAssessment'
18+
19+
#### Az.DataFactory
20+
* Added missing properties to PSPipelineRun class.
21+
22+
#### Az.HDInsight
23+
* Supported creating cluster with encryption at host feature.
24+
25+
#### Az.KeyVault
26+
* Added warning messages for planning to disable soft delete
27+
* Added warning messages for planning to remove attribute SecretValueText
28+
29+
#### Az.Maintenance
30+
* Added optional schedule related fields to 'New-AzMaintenanceConfiguration'
31+
* Added new cmdlet for 'Get-AzMaintenancePublicConfiguration'
32+
33+
#### Az.ManagedServices
34+
* Added breaking change warnings on cmdlets of managed services assignment and definition
35+
36+
#### Az.Monitor
37+
* Extended the parameter set in 'Set-AzDiagnosticSetting' for separation of Logs and Metrics enablement [#12482]
38+
* Fixed bug for 'Add-AzMetricAlertRuleV2' when getting metric alert from pipeline
39+
40+
#### Az.Resources
41+
* Updated 'Get-AzPolicyAlias' response to include information indicating whether the alias is modifiable by Azure Policy.
42+
* Created new cmdlet 'Set-AzRoleAssignment'
43+
* Added 'Get-AzDeploymentManagementGroupWhatIfResult' for getting ARM template What-If results at management Group scope
44+
* Added 'Get-AzTenantWhatIfResult' new cmdlet for getting ARM template What-If results at tenant scope
45+
* Overrode '-WhatIf' and '-Confirm' for 'New-AzManagementGroupDeployment' and 'New-AzTenantDeployment' to use ARM template What-If results
46+
* Fixed the behaviors of '-WhatIf' and '-Confirm' for new deployment cmdlets so they comply with False and
47+
* Fixed serialization error for '-TemplateObject' and 'TemplateParameterObject' [#1528] [#6292]
48+
* Added breaking change attribute to 'Get-AzResourceGroupDeploymentOperation' for the upcoming output type change
49+
50+
#### Az.SignalR
51+
* Fixed 'Restart-AzSignalR' and 'Update-AzSignalR' help files errors
52+
* Added cmdlets 'Update-AzSignalRNetworkAcl', 'Set-AzSignalRUpstream'
53+
54+
#### Az.Storage
55+
* Supported blob query acceleration
56+
- 'Get-AzStorageBlobQueryResult'
57+
- 'New-AzStorageBlobQueryConfig'
58+
* Updated help file, added more description, and fixed typo
59+
- 'Start-AzStorageBlobCopy'
60+
- 'Get-AzDataLakeGen2Item'
61+
* Fixed download blob fail when related sub directory not exist [#12592]
62+
- 'Get-AzStorageBlobContent'
63+
* Supported Set/Get/Remove Object Replication Policy on Storage accounts
64+
- 'New-AzStorageObjectReplicationPolicyRule'
65+
- 'Set-AzStorageObjectReplicationPolicy'
66+
- 'Get-AzStorageObjectReplicationPolicy'
67+
- 'Remove-AzStorageObjectReplicationPolicy'
68+
* Supported enable/disable ChangeFeed on Blob Service of a Storage account
69+
- 'Update-AzStorageBlobServiceProperty'
70+
71+
## 4.5.0 - August 2020
72+
#### Az.Accounts
73+
* Updated 'Connect-AzAccount' to accept parameter 'MaxContextPopulation' [#9865]
74+
* Updated SubscriptionClient version to 2019-06-01 and display tenant domains [#9838]
75+
* Supported home tenant and managedBy tenant information of subscription
76+
* Corrected module name, version info in telemetry data
77+
* Adjusted SqlDatabaseDnsSuffix and ServiceManagementUrl if environment metadata endpoint returns incompatible value
78+
79+
#### Az.Aks
80+
* Removed 'ClientIdAndSecret' to 'ServicePrincipalIdAndSecret' and set 'ClientIdAndSecret' as an alias [#12381].
81+
* Removed 'Get-AzAks'/'New-AzAks'/'Remove-AzAks'/'Set-AzAks' to 'Get-AzAksCluster'/'New-AzAksCluster'/'Remove-AzAksCluster'/'Set-AzAksCluster' and set the original ones as alias [#12373].
82+
83+
#### Az.ApiManagement
84+
* Added new 'Add-AzApiManagementApiToGateway' cmdlet.
85+
* Added new 'Get-AzApiManagementGateway' cmdlet.
86+
* Added new 'Get-AzApiManagementGatewayHostnameConfiguration' cmdlet.
87+
* Added new 'Get-AzApiManagementGatewayKey' cmdlet.
88+
* Added new 'New-AzApiManagementGateway' cmdlet.
89+
* Added new 'New-AzApiManagementGatewayHostnameConfiguration' cmdlet.
90+
* Added new 'New-AzApiManagementResourceLocationObject' cmdlet.
91+
* Added new 'Remove-AzApiManagementApiFromGateway' cmdlet.
92+
* Added new 'Remove-AzApiManagementGateway' cmdlet.
93+
* Added new 'Remove-AzApiManagementGatewayHostnameConfiguration' cmdlet.
94+
* Added new 'Update-AzApiManagementGateway' cmdlet.
95+
* Added new optional [-GatewayId] parameter to the 'Get-AzApiManagementApi' cmdlet.
96+
97+
#### Az.CognitiveServices
98+
* Used 'Deny' specifically as NetworkRules default action.
99+
100+
#### Az.FrontDoor
101+
* Fixed an issue where an exception is being thrown when Enum.Parse tries to coerce a null value to an Enabled or Disabled enum values [#12344]
102+
103+
#### Az.HDInsight
104+
* Supported creating cluster with encryption in transit feature.
105+
- Add new parameter 'EncryptionInTransit' to the cmdlet 'New-AzHDInsightCluster'
106+
- Add new parameter 'EncryptionInTransit' to the cmdlet 'New-AzHDInsightClusterConfig'
107+
* Supported creating cluster with private link feature:
108+
- Add new parameter 'PublicNetworkAccessType' and 'OutboundPublicNetworkAccessType' to the cmdlet 'New-AzHDInsightCluster'
109+
- Add new parameter 'PublicNetworkAccessType' and 'OutboundPublicNetworkAccessType' to the cmdlet 'New-AzHDInsightClusterConfig'
110+
* Returned virtual network information when calling 'New-AzHDInsightCluster' or 'Get-AzHDInsightCluster'
111+
112+
#### Az.Network
113+
* Added support for AddressPrefixType parameter to 'Remove-AzExpressRouteCircuitConnectionConfig'
114+
* Added non-breaking changes: PeerAddressType functionality for Private Peering in 'Remove-AzExpressRouteCircutPeeringConfig'.
115+
* Code changed to ignore case for AddressPrefixType and PeerAddressType parameter.
116+
* Modified the warning message for 'New-AzLoadBalancerFrontendIpConfig', 'New-AzPublicIpAddress' and 'New-AzPublicIpPrefix'.
117+
118+
#### Az.OperationalInsights
119+
* Added '-ForceDelete' option for 'Remove-AzOperationalInsightsworkspace'
120+
* Added new cmdlet 'Get-AzOperationalInsightsDeletedWorkspace'
121+
* Added new cmdlet 'Restore-AzOperationalInsightsWorkspace'
122+
123+
#### Az.RecoveryServices
124+
* Improved the Azure Backup container/item discovery experience.
125+
126+
#### Az.Resources
127+
* Added properties 'Condition', 'ConditionVersion' and 'Description' to 'New-AzRoleAssignment'
128+
- This included all the relevant changes to the data models
129+
130+
#### Az.Sql
131+
* Fixed potential server name case insensitive error in 'New-AzSqlServer' and 'Set-AzSqlServer'
132+
* Fixed wrong database name returned on existing database error in 'New-AzSqlDatabaseSecondary'
133+
134+
#### Az.Storage
135+
* Supported create container/blob Sas token with new permission x,t
136+
- 'New-AzStorageBlobSASToken'
137+
- 'New-AzStorageContainerSASToken'
138+
* Supported create account Sas token with new permission x,t,f
139+
- 'New-AzStorageAccountSASToken'
140+
* Supported get single file share usage
141+
- 'Get-AzRmStorageShare'
142+
1143
## 4.4.0 - July 2020
2144
#### Az.Accounts
3145
* Added new cmdlet 'Invoke-AzRestMethod'

build.proj

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
/p:Scope
1919
'Subfolder under src': An individual cmdlet module
2020
By default, it builds everything
21+
/p:TargetModule
22+
Just focus on one module and its dependency such as Az.Account. Module name doesn't need to lead with Az.
2123
/p:SkipHelp=True
2224
Skips help generation, mainly for local builds to save time.
2325
-->
@@ -100,7 +102,12 @@
100102
<Exec Command="$(PowerShellCoreCommandPrefix) &quot;Get-ChildItem -Path $(MSBuildThisFileDirectory) -Recurse -Include 'bin','obj','TestResults' | Remove-Item -Recurse -Force -ErrorAction Ignore&quot;" IgnoreExitCode="true" />
101103
</Target>
102104

103-
<Target Name="FilterBuild" Condition="$(PullRequestNumber) != '' OR $(TargetModule) != ''">
105+
<Target Name="BuildTools">
106+
<!-- Publish static analysis for use cross-platform -->
107+
<Exec Command="dotnet publish $(RepoTools)StaticAnalysis/StaticAnalysis.Netcore.csproj -c $(Configuration) -f netcoreapp2.1" />
108+
</Target>
109+
110+
<Target Name="FilterBuild" Condition="$(PullRequestNumber) != '' OR $(TargetModule) != ''" DependsOnTargets="BuildTools">
104111
<Message Importance="high" Text="Filtering projects and modules..." />
105112
<Exec Command="$(PowerShellCoreCommandPrefix) &quot;. $(RepoTools)/CreateFilterMappings.ps1&quot;" />
106113

@@ -113,7 +120,7 @@
113120
</FilesChangedTask>
114121

115122
<!-- Get the list of modules changed -->
116-
<FilterTask FilesChanged="@(FilesChanged)" MapFilePath="./ModuleMappings.json">
123+
<FilterTask FilesChanged="@(FilesChanged)" MapFilePath="./ModuleMappings.json" TargetModule="$(TargetModule)">
117124
<Output TaskParameter="Output" ItemName="ModulesChanged" />
118125
</FilterTask>
119126
<Message Importance="high" Text="Filtering help generation and StaticAnalysis by the following modules:" />
@@ -122,7 +129,7 @@
122129
<Message Importance="high" Text="" />
123130

124131
<!-- Get the list of projects to build -->
125-
<FilterTask FilesChanged="@(FilesChanged)" MapFilePath="./CsprojMappings.json">
132+
<FilterTask FilesChanged="@(FilesChanged)" MapFilePath="./CsprojMappings.json" TargetModule="$(TargetModule)">
126133
<Output TaskParameter="Output" ItemName="ProjectsToBuild" />
127134
</FilterTask>
128135
<Message Importance="high" Text="Filtering projects to build by the following:" />
@@ -175,9 +182,6 @@
175182
<!-- Build version controller -->
176183
<Exec Command="dotnet build $(RepoTools)VersionController/VersionController.Netcore.csproj -c $(Configuration)" />
177184

178-
<!-- Publish static analysis for use cross-platform -->
179-
<Exec Command="dotnet publish $(RepoTools)StaticAnalysis/StaticAnalysis.Netcore.csproj -c $(Configuration) -f netcoreapp2.1" />
180-
181185
<!-- Delete powershell runtime files -->
182186
<PropertyGroup>
183187
<RuntimeDllsIncludeList>Microsoft.Powershell.*.dll,System*.dll,Microsoft.VisualBasic.dll,Microsoft.CSharp.dll,Microsoft.CodeAnalysis.dll,Microsoft.CodeAnalysis.CSharp.dll</RuntimeDllsIncludeList>
@@ -235,16 +239,16 @@
235239

236240
<Target Name="Publish" Condition="'$(Configuration)' == 'Release'">
237241
<Message Importance="high" Text="Publishing Cmdlets using $(Scope) scope" />
238-
<Exec Command="$(PowerShellCoreCommandPrefix) &quot;. $(RepoTools)/NewOutputTypeIndex.ps1 -OutputFile $(RepoArtifacts)/outputtypes.json -BuildConfig $(Configuration)&quot;" />
239-
<Exec Command="$(PowerShellCoreCommandPrefix) &quot;. $(RepoTools)/NewHelpIndex.ps1 -OutputFile $(RepoArtifacts)/index.json -BuildConfig $(Configuration)&quot;" />
242+
<Exec Command="$(PowerShellCoreCommandPrefix) &quot;. $(RepoTools)/NewOutputTypeIndex.ps1 -OutputFile $(RepoArtifacts)/outputtypes.json -BuildConfig $(Configuration)&quot;" Condition="'$(TargetModule)' == ''"/>
243+
<Exec Command="$(PowerShellCoreCommandPrefix) &quot;. $(RepoTools)/NewHelpIndex.ps1 -OutputFile $(RepoArtifacts)/index.json -BuildConfig $(Configuration)&quot;" Condition="'$(TargetModule)' == ''"/>
240244

241245
<Exec Command="$(PowerShellCoreCommandPrefix) &quot;. $(RepoTools)/CleanupBuild.ps1 -BuildConfig $(Configuration)&quot;" />
242246

243247
<Error Condition="'$(NuGetKey)' == ''" Text="You must provide the NuGetKey parameter to the build: /p:NuGetKey=YOUR_PUBLISHING_KEY" />
244248
<Exec Command="$(PowerShellCoreCommandPrefix) &quot;. $(RepoTools)/PublishModules.ps1 -IsNetCore:$$(NetCore) -BuildConfig $(Configuration) -Scope $(Scope) -ApiKey $(NuGetKey) -RepositoryLocation \&quot;$(NuGetPublishingSource)\&quot;&quot; -NugetExe $(NuGetCommand)" />
245249
</Target>
246250

247-
<Target Name="BuildInstaller" AfterTargets="Publish" Condition="'$(Scope)' == 'All' or '$(Scope)' == 'Latest' or '$(Scope)' == 'Netcore'">
251+
<Target Name="BuildInstaller" AfterTargets="Publish" Condition="('$(Scope)' == 'All' or '$(Scope)' == 'Latest' or '$(Scope)' == 'Netcore') and '$(TargetModule)' == ''">
248252
<Exec Command="$(PowerShellCoreCommandPrefix) &quot;. Register-PSRepository -Name MSIcreationrepository -SourceLocation $(RepoArtifacts) -InstallationPolicy Trusted &quot;" />
249253
<Exec Command="$(PowerShellCoreCommandPrefix) &quot;. $(RepoRoot)/setup/generate.ps1 -repository MSIcreationrepository &quot;" />
250254
<Exec Command="$(PowerShellCoreCommandPrefix) &quot;. Unregister-PSRepository -Name MSIcreationrepository &quot;" />

documentation/azure-powershell-modules.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ Security | `Az.Security`
9898
Service Bus | `Az.ServiceBus` | [![ServiceBus]][ServiceBusGallery]
9999
Service Fabric | `Az.ServiceFabric` | [![ServiceFabric]][ServiceFabricGallery]
100100
SignalR | `Az.SignalR` | [![SignalR]][SignalRGallery]
101+
SpringCloud | `Az.SpringCloud` | [![SpringCloud]][SpringCloudGallery]
101102
SQL | `Az.Sql` | [![Sql]][SqlGallery]
102103
SQL Server on Virtual Machines | `Az.SqlVirtualMachine` | [![SqlVirtualMachine]][SqlVirtualMachineGallery]
103104
Stack Edge | `Az.StackEdge` | [![StackEdge]][StackEdgeGallery]
@@ -204,10 +205,11 @@ Web App Service | `Az.Websites`
204205
[ServiceBus]: https://img.shields.io/powershellgallery/v/Az.ServiceBus.svg?style=flat-square&label=Az.ServiceBus
205206
[ServiceFabric]: https://img.shields.io/powershellgallery/v/Az.ServiceFabric.svg?style=flat-square&label=Az.ServiceFabric
206207
[SignalR]: https://img.shields.io/powershellgallery/v/Az.SignalR.svg?style=flat-square&label=Az.SignalR
208+
[SpringCloud]: https://img.shields.io/powershellgallery/v/Az.SpringCloud.svg?style=flat-square&label=Az.SpringCloud
207209
[Sql]: https://img.shields.io/powershellgallery/v/Az.Sql.svg?style=flat-square&label=Az.Sql
208210
[SqlVirtualMachine]: https://img.shields.io/powershellgallery/v/Az.SqlVirtualMachine.svg?style=flat-square&label=Az.SqlVirtualMachine
209211
[StackEdge]: https://img.shields.io/powershellgallery/v/Az.StackEdge.svg?style=flat-square&label=Az.StackEdge
210-
[StackHCI]: https://img.shields.io/powershellgallery/v/Az.StackHCI.svg?style=flat-square&label=Az.StackHCI
212+
[StackHCI]: https://img.shields.io/powershellgallery/v/Az.StackHCI.svg?style=flat-square&label=Az.StackHCI
211213
[Storage]: https://img.shields.io/powershellgallery/v/Az.Storage.svg?style=flat-square&label=Az.Storage
212214
[StorageSync]: https://img.shields.io/powershellgallery/v/Az.StorageSync.svg?style=flat-square&label=Az.StorageSync
213215
[StreamAnalytics]: https://img.shields.io/powershellgallery/v/Az.StreamAnalytics.svg?style=flat-square&label=Az.StreamAnalytics
@@ -308,6 +310,7 @@ Web App Service | `Az.Websites`
308310
[ServiceBusGallery]: https://www.powershellgallery.com/packages/Az.ServiceBus/
309311
[ServiceFabricGallery]: https://www.powershellgallery.com/packages/Az.ServiceFabric/
310312
[SignalRGallery]: https://www.powershellgallery.com/packages/Az.SignalR/
313+
[SpringCloudGallery]: https://www.powershellgallery.com/packages/Az.SpringCloud/
311314
[SqlGallery]: https://www.powershellgallery.com/packages/Az.Sql/
312315
[SqlVirtualMachineGallery]: https://www.powershellgallery.com/packages/Az.SqlVirtualMachine/
313316
[StackEdgeGallery]: https://www.powershellgallery.com/packages/Az.StackEdge/

documentation/development-docs/design-guidelines/parameter-best-practices.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,3 +155,33 @@ In addition, there should be no two parameters with the same position in the sam
155155
Allowing the user to pipe an object from one cmdlet to another is a major scenario in PowerShell, but allowing multiple parameters in the same parameter set to accept their value from the pipeline can cause issues. From the remarks section of [_Parameter Attribute Declaration_](https://docs.microsoft.com/en-us/powershell/scripting/developer/cmdlet/parameter-attribute-declaration#remarks):
156156

157157
> _Only one parameter in a parameter set should declare ValueFromPipeline = true. Multiple parameters can define ValueFromPipelineByPropertyName = true._
158+
159+
160+
## Appendix: Parameter Syntax
161+
162+
In PowerShell documentation, square brackets (`[]`) indicate optional.
163+
Convention is as follows:
164+
165+
```powershell
166+
command-name
167+
-RequiredParameterName <RequiredParameterValue>
168+
[-OptionalParameterName <OptionalParameterValue>]
169+
[-OptionalSwitchParameters]
170+
[-OptionalParameterName] <RequiredParameterValue>
171+
```
172+
173+
Using `New-Alias` cmdlet as an example:
174+
175+
```powershell
176+
New-Alias
177+
[-Name] <string> -required 'positional' parameter
178+
[-Value] <string>
179+
[-Description <string>] -optional parameter
180+
[-Force] -optional switch parameter (all switch parameters are optional, non-positional)
181+
[-Option {None | ReadOnly | Constant | Private | AllScope}]
182+
[-PassThru]
183+
[-Scope <string>]
184+
[-Confirm]
185+
[-WhatIf]
186+
[<CommonParameters>]
187+
```

documentation/development-docs/examples/remove-cmdlet-example.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ namespace Microsoft.Azure.Commands.Service
168168
if (this.ShouldProcess(this.Name, string.Format("Deleting ChildResource '{0}' in resource group '{1}' under parent TopLevelResource '{2}'.", this.Name, this.ResourceGroupName, this.TopLevelResourceName)))
169169
{
170170
this.MySDKClient.ChildResource.Delete(this.ResourceGroupName, this.TopLevelResourceName, this.Name);
171-
if (this.IsPassThru.IsPresent)
171+
if (this.PassThru.IsPresent)
172172
{
173173
WriteObject(true);
174174
}

setup/InstallerChecks.CA.dll

3.72 KB
Binary file not shown.

setup/InstallerChecks/InstallerChecks/InstallerChecks.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@
5050
<DesignTime>True</DesignTime>
5151
<DependentUpon>Resources.resx</DependentUpon>
5252
</Compile>
53-
<Content Include="InstallerChecks.config" />
53+
<Content Include="CustomAction.config">
54+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
55+
</Content>
5456
</ItemGroup>
5557
<ItemGroup>
5658
<EmbeddedResource Include="Properties\Resources.resx">

0 commit comments

Comments
 (0)