Skip to content

Commit 9ddec26

Browse files
authored
Merge branch 'release-6.0.0' into context-default
2 parents 65eb980 + 5919291 commit 9ddec26

File tree

958 files changed

+555335
-281486
lines changed

Some content is hidden

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

958 files changed

+555335
-281486
lines changed

.gitignore

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -222,14 +222,10 @@ groupMapping*.json
222222
*.wixpdb
223223

224224
.vscode/
225-
/tools/AutomationTestFramework/RunBooks
226-
/tools/AutomationTestFramework/TestHelpers/TestHelpers.zip
225+
/tools/AutomationTestFramework/Runbooks
227226
Results
228227
Package
229228
.DS_Store
230229
.idea
231-
/src/ResourceManager/RecoveryServices.Backup/Commands.RecoveryServices.Backup.Logger/bin
232-
/src/ResourceManager/RecoveryServices.Backup/Commands.RecoveryServices.Backup.Models/bin
233-
/src/ResourceManager/RecoveryServices.Backup/Commands.RecoveryServices.Backup.Helpers/bin
234-
/src/ResourceManager/RecoveryServices.Backup/Commands.RecoveryServices.Backup.Providers/bin
235-
/src/ResourceManager/RecoveryServices.Backup/Commands.RecoveryServices.Backup.ServiceClientAdapter/bin
230+
/src/ResourceManager/RecoveryServices.Backup/**/bin
231+
launchSettings.json

appveyor.yml

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,27 @@
11
clone_folder: c:\ps
2+
clone_depth: 1
23
branches:
34
only:
45
- master
56
environment:
6-
nodejs_version: "6"
77
github_access_token:
88
secure: VMFbecLLHzDq/09YDPbcM0VDDSwwgY57vr5GXK6cZZ4Ti/Xs5RZoylzV8MMr1350
99

1010
before_build:
11-
- ps: Get-ChildItem -Path ("$env:programfiles" + "\WindowsPowerShell\Modules") | Where-Object { $_.FullName -match 'azure' } | foreach { Remove-Item $_.FullName -Recurse -Force }
12-
- ps: Install-Module -Name PowerShellGet -Force
13-
- ps: Install-Module -Name SplitPipeline -Force
14-
- ps: Install-Module -Name platyPS -Force
15-
- ps: Install-Module -Name Azure -Force
16-
- ps: Install-Module -Name AzureRM -Force -AllowClobber
17-
- ps: Install-Module -Name AzureStack -Force -AllowClobber
18-
- ps: Install-Product node $env:nodejs_version
1911
- git config --global credential.helper store
2012
- ps: ac "$env:USERPROFILE\.git-credentials" "https://$($env:github_access_token):[email protected]`n"
2113
- git config --global user.email %email%
2214
- git config --global user.name %name%
23-
- git clone -q https://github.com/MicrosoftDocs/azure-psdocs-ciscripts azpsci
24-
- cd azpsci
25-
- npm install
26-
- npm install typescript
27-
- node ./node_modules/typescript/bin/tsc
2815
- cd ..
16+
- git clone -q https://github.com/MicrosoftDocs/azure-psdocs-ciscripts azpsci
17+
- dotnet publish azpsci -c Release -o ../ci
2918
build_script:
30-
- node azpsci/out/ci0.js src c:\projects\_output
19+
- dotnet ./ci/azpsci.dll docs
3120

3221
test: off
3322
on_success:
3423
- git clone -q --branch=%target_branch% %content_repo% %TEMP%\Azure
3524
- cd %TEMP%\Azure
36-
- ps: ls c:\projects\_output -dir | % { copy $_.FullName . -Recurse -Force }
25+
- ps: ls C:\docs -dir | % { copy $_.FullName . -Recurse -Force }
3726
- git add -A
3827
- git diff --quiet --exit-code --cached || git commit -m "Sync docs from source code repo to content repo." && git push origin %target_branch% && appveyor AddMessage "Content Updated"

src/Common/Commands.Common.Authentication.Abstractions/AzureEnvironment.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ static IDictionary<string, AzureEnvironment> InitializeBuiltInEnvironments()
9999
BatchEndpointResourceId = AzureEnvironmentConstants.USGovernmentBatchEndpointResourceId,
100100
AdTenant = "Common"
101101
};
102+
azureUSGovernment.SetProperty(ExtendedEndpoint.OperationalInsightsEndpoint, AzureEnvironmentConstants.USGovernmentOperationalInsightsEndpoint);
103+
azureUSGovernment.SetProperty(ExtendedEndpoint.OperationalInsightsEndpointResourceId, AzureEnvironmentConstants.USGovernmentOperationalInsightsEndpointResourceId);
102104
var azureGermany = new AzureEnvironment
103105
{
104106
Name = EnvironmentName.AzureGermanCloud,

src/Common/Commands.Common.Authentication.Abstractions/AzureEnvironmentConstants.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,13 @@ public static class AzureEnvironmentConstants
119119
/// The token audience for Log Analytics Queries
120120
/// </summary>
121121
public const string AzureOperationalInsightsEndpointResourceId = "https://api.loganalytics.io";
122+
public const string USGovernmentOperationalInsightsEndpointResourceId = "https://api.loganalytics.us";
122123

123124
/// <summary>
124125
/// The endpoint URI for Log Analytics Queries
125126
/// </summary>
126127
public const string AzureOperationalInsightsEndpoint = "https://api.loganalytics.io/v1";
128+
public const string USGovernmentOperationalInsightsEndpoint = "https://api.loganalytics.us/v1";
127129

128130
/// <summary>
129131
/// The domain name suffix for Azure DataLake services

src/Common/Commands.Common/AzurePSCmdlet.cs

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,13 +137,50 @@ protected string PSVersion
137137

138138
protected abstract string DataCollectionWarning { get; }
139139

140+
private SessionState _sessionState;
141+
142+
public new SessionState SessionState
143+
{
144+
get
145+
{
146+
return _sessionState;
147+
}
148+
set
149+
{
150+
_sessionState = value;
151+
}
152+
}
153+
154+
private RuntimeDefinedParameterDictionary _asJobDynamicParameters;
155+
156+
public RuntimeDefinedParameterDictionary AsJobDynamicParameters
157+
{
158+
get
159+
{
160+
if (_asJobDynamicParameters == null)
161+
{
162+
_asJobDynamicParameters = new RuntimeDefinedParameterDictionary();
163+
}
164+
return _asJobDynamicParameters;
165+
}
166+
set
167+
{
168+
_asJobDynamicParameters = value;
169+
}
170+
}
171+
140172
/// <summary>
141173
/// Initializes AzurePSCmdlet properties.
142174
/// </summary>
143175
public AzurePSCmdlet()
144176
{
145177
DebugMessages = new ConcurrentQueue<string>();
178+
}
146179

180+
// Register Dynamic Parameters for use in long running jobs
181+
public void RegisterDynamicParameters(RuntimeDefinedParameterDictionary parameters)
182+
{
183+
this.AsJobDynamicParameters = parameters;
147184
}
148185

149186

@@ -252,6 +289,7 @@ protected virtual void TearDownHttpClientPipeline()
252289
/// </summary>
253290
protected override void BeginProcessing()
254291
{
292+
SessionState = base.SessionState;
255293
var profile = _dataCollectionProfile;
256294
//TODO: Inject from CI server
257295
lock (lockObject)

src/ResourceManager/Aks/Commands.Aks/help/AzureRM.Aks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
Module Name: AzureRM.Aks
33
Module Guid: a97e0c3e-e389-46a6-b73d-2b9bd6909bdb
4-
Download Help Link: {{Please enter FwLink manually}}
5-
Help Version: {{Please enter version of help manually (X.X.X.X) format}}
4+
Download Help Link: https://docs.microsoft.com/en-us/powershell/module/azurerm.aks
5+
Help Version: 0.0.1.0
66
Locale: en-US
77
---
88

src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/help/Azure.AnalysisServices.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
Module Name: Azure.AnalysisServices
33
Module Guid: c717b5a4-1f1b-4a2f-8aa1-bfd09934626e
4-
Download Help Link: {{Please enter FwLink manually}}
5-
Help Version: {{Please enter version of help manually (X.X.X.X) format}}
4+
Download Help Link: https://docs.microsoft.com/en-us/powershell/module/azure.analysisservices
5+
Help Version: 0.5.0.0
66
Locale: en-US
77
---
88

src/ResourceManager/AnalysisServices/Commands.AnalysisServices/help/AzureRM.AnalysisServices.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
Module Name: AzureRM.AnalysisServices
33
Module Guid: acace26c-1775-4100-85c0-20c4d71eaa21
4-
Download Help Link: None_Azure
4+
Download Help Link: https://docs.microsoft.com/en-us/powershell/module/azurerm.analysisservices
55
Help Version: 0.0.1.0
66
Locale: en-US
77
---

src/ResourceManager/ApiManagement/Commands.ApiManagement/help/AzureRM.ApiManagement.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
Module Name: AzureRM.ApiManagement
33
Module Guid: f875725d-8ce4-423f-a6af-ea880bc63f13
4-
Download Help Link: None
4+
Download Help Link: https://docs.microsoft.com/en-us/powershell/module/azurerm.apimanagement
55
Help Version: 4.0.0.0
66
Locale: en-US
77
---

src/ResourceManager/ApplicationInsights/Commands.ApplicationInsights/help/AzureRM.ApplicationInsights.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
Module Name: AzureRM.ApplicationInsights
33
Module Guid: da67eaa7-4cb1-4bfa-a194-8bf3faae8ac6
4-
Download Help Link: None
5-
Help Version: 0.1.2
4+
Download Help Link: https://docs.microsoft.com/en-us/powershell/module/azurerm.applicationinsights
5+
Help Version: 0.1.2.0
66
Locale: en-US
77
---
88

0 commit comments

Comments
 (0)