From f389aa3a7efacb9eb5dc259912c0fe1cb50a499a Mon Sep 17 00:00:00 2001 From: Leandro Wajswajn Pereyra Date: Thu, 3 Jan 2019 10:17:03 -0300 Subject: [PATCH 01/21] Added support for Python2 runbooks --- .../Commands.Automation/Az.Automation.psd1 | 2 +- .../Common/AutomationPSClient.cs | 74 ++++++++++++++----- 2 files changed, 56 insertions(+), 20 deletions(-) diff --git a/src/ResourceManager/Automation/Commands.Automation/Az.Automation.psd1 b/src/ResourceManager/Automation/Commands.Automation/Az.Automation.psd1 index 726be17a74bb..08deef4468cf 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Az.Automation.psd1 +++ b/src/ResourceManager/Automation/Commands.Automation/Az.Automation.psd1 @@ -12,7 +12,7 @@ # RootModule = '' # Version number of this module. -ModuleVersion = '1.0.0' +ModuleVersion = '1.0.1' # Supported PSEditions CompatiblePSEditions = 'Core', 'Desktop' diff --git a/src/ResourceManager/Automation/Commands.Automation/Common/AutomationPSClient.cs b/src/ResourceManager/Automation/Commands.Automation/Common/AutomationPSClient.cs index c6a31510d63b..98f536be6291 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Common/AutomationPSClient.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Common/AutomationPSClient.cs @@ -1657,42 +1657,78 @@ private IEnumerable> ListRunbookParameter private IDictionary ProcessRunbookParameters(string resourceGroupName, string automationAccountName, string runbookName, IDictionary parameters) { + Runbook runbook = null; + IEnumerable> runbookParameters = null; parameters = parameters ?? new Dictionary(); - IEnumerable> runbookParameters = - this.ListRunbookParameters(resourceGroupName, automationAccountName, runbookName); var filteredParameters = new Dictionary(); - foreach (var runbookParameter in runbookParameters) + try + { + runbook = this.GetRunbook(resourceGroupName, automationAccountName, runbookName); + } + catch (ResourceCommonException) + { + // Ignore if runbook does not exists in the account. This is to start global runbooks by name + runbookParameters = new Dictionary(); + } + + if (0 == String.Compare(runbook.State, RunbookState.New, CultureInfo.InvariantCulture, + CompareOptions.IgnoreCase)) { - if (parameters.Contains(runbookParameter.Key)) + throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, + Resources.RunbookHasNoPublishedVersion, runbookName)); + } + + if (runbook.RunbookType == "Python2") { + int i = 1; + + foreach (var key in parameters.Keys) { + object paramValue = parameters[key]; + try { + filteredParameters.Add("[Parameter " + i.ToString() + "]", PowerShellJsonConverter.Serialize(paramValue)); + } + catch(JsonSerializationException) + { + throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Resources.RunbookParameterCannotBeSerializedToJson, key)); + } + i++; + } + } + else { + runbookParameters = runbook.Parameters.Cast().ToDictionary(k => k.Key.ToString(), k => (RunbookParameter)k.Value); + + foreach (var runbookParameter in runbookParameters) { - object paramValue = parameters[runbookParameter.Key]; - try + if (parameters.Contains(runbookParameter.Key)) { - filteredParameters.Add(runbookParameter.Key, PowerShellJsonConverter.Serialize(paramValue)); + object paramValue = parameters[runbookParameter.Key]; + try + { + filteredParameters.Add(runbookParameter.Key, PowerShellJsonConverter.Serialize(paramValue)); + } + catch (JsonSerializationException) + { + throw new ArgumentException( + string.Format( + CultureInfo.CurrentCulture, Resources.RunbookParameterCannotBeSerializedToJson, + runbookParameter.Key)); + } } - catch (JsonSerializationException) + else if (runbookParameter.Value.IsMandatory.HasValue && runbookParameter.Value.IsMandatory.Value) { throw new ArgumentException( string.Format( - CultureInfo.CurrentCulture, Resources.RunbookParameterCannotBeSerializedToJson, - runbookParameter.Key)); + CultureInfo.CurrentCulture, Resources.RunbookParameterValueRequired, runbookParameter.Key)); } } - else if (runbookParameter.Value.IsMandatory.HasValue && runbookParameter.Value.IsMandatory.Value) + + if (filteredParameters.Count != parameters.Count) { throw new ArgumentException( - string.Format( - CultureInfo.CurrentCulture, Resources.RunbookParameterValueRequired, runbookParameter.Key)); + string.Format(CultureInfo.CurrentCulture, Resources.InvalidRunbookParameters)); } } - if (filteredParameters.Count != parameters.Count) - { - throw new ArgumentException( - string.Format(CultureInfo.CurrentCulture, Resources.InvalidRunbookParameters)); - } - return filteredParameters; } From d49e8e106e3f83debac2a24f8e191c4adf44d0da Mon Sep 17 00:00:00 2001 From: Leandro Wajswajn Pereyra Date: Thu, 3 Jan 2019 10:48:10 -0300 Subject: [PATCH 02/21] Added logic to handle null references when calling a Global runbook --- .../Common/AutomationPSClient.cs | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/ResourceManager/Automation/Commands.Automation/Common/AutomationPSClient.cs b/src/ResourceManager/Automation/Commands.Automation/Common/AutomationPSClient.cs index 98f536be6291..2a87df035fdb 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Common/AutomationPSClient.cs +++ b/src/ResourceManager/Automation/Commands.Automation/Common/AutomationPSClient.cs @@ -1661,7 +1661,7 @@ private IDictionary ProcessRunbookParameters(string resourceGrou IEnumerable> runbookParameters = null; parameters = parameters ?? new Dictionary(); var filteredParameters = new Dictionary(); - + try { runbook = this.GetRunbook(resourceGroupName, automationAccountName, runbookName); @@ -1671,15 +1671,14 @@ private IDictionary ProcessRunbookParameters(string resourceGrou // Ignore if runbook does not exists in the account. This is to start global runbooks by name runbookParameters = new Dictionary(); } - - if (0 == String.Compare(runbook.State, RunbookState.New, CultureInfo.InvariantCulture, - CompareOptions.IgnoreCase)) + + if (runbook != null && 0 == String.Compare(runbook.State, RunbookState.New, CultureInfo.InvariantCulture, CompareOptions.IgnoreCase)) { throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Resources.RunbookHasNoPublishedVersion, runbookName)); } - - if (runbook.RunbookType == "Python2") { + + if (runbook != null && runbook.RunbookType == "Python2") { int i = 1; foreach (var key in parameters.Keys) { @@ -1728,7 +1727,7 @@ private IDictionary ProcessRunbookParameters(string resourceGrou string.Format(CultureInfo.CurrentCulture, Resources.InvalidRunbookParameters)); } } - + return filteredParameters; } From 16e12cf73baa71390c7f4ad7b7d182a92d8db448 Mon Sep 17 00:00:00 2001 From: Leandro Wajswajn Pereyra Date: Thu, 3 Jan 2019 10:48:35 -0300 Subject: [PATCH 03/21] Updated help with example on how to call a Python runbook --- .../help/Start-AzAutomationRunbook.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/ResourceManager/Automation/Commands.Automation/help/Start-AzAutomationRunbook.md b/src/ResourceManager/Automation/Commands.Automation/help/Start-AzAutomationRunbook.md index d2ca05312eeb..cc851d66c8a0 100644 --- a/src/ResourceManager/Automation/Commands.Automation/help/Start-AzAutomationRunbook.md +++ b/src/ResourceManager/Automation/Commands.Automation/help/Start-AzAutomationRunbook.md @@ -40,7 +40,14 @@ PS C:\>Start-AzAutomationRunbook -AutomationAccountName "Contoso17" -Name "Runbk This command starts a runbook job for the runbook named Runbk01 in the Azure Automation account named Contoso17. -### Example 2: Start a runbook job and wait for results +### Example 2: Start a Python 2 runbook job with parameters +``` +PS C:\>Start-AzAutomationRunbook -AutomationAccountName "Contoso17" -Name "RunbkPy01" -ResourceGroupName "ResourceGroup01" -Parameters @{"Key1"="ValueForPosition1";"Key2"="ValueForPosition2"} +``` + +This command starts a runbook job for the Python 2 runbook named RunbkPy01 in the Azure Automation account named Contoso17 with "ValueForPosition1" as the first positional parameter and "ValueForPosition2" for the second one. + +### Example 3: Start a runbook job and wait for results ``` Start-AzAutomationRunbook -AutomationAccountName "Contoso17" -Name "Runbk01" -ResourceGroupName "ResourceGroup01" -MaxWaitSeconds 1000 -Wait ``` From 9ba246cc5b6cd44a91f919266f4389b87e342977 Mon Sep 17 00:00:00 2001 From: Leandro Wajswajn Pereyra Date: Thu, 3 Jan 2019 11:00:09 -0300 Subject: [PATCH 04/21] Updated changelog --- .../Automation/Commands.Automation/ChangeLog.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ResourceManager/Automation/Commands.Automation/ChangeLog.md b/src/ResourceManager/Automation/Commands.Automation/ChangeLog.md index 1e27727a3c38..803efcaf7539 100644 --- a/src/ResourceManager/Automation/Commands.Automation/ChangeLog.md +++ b/src/ResourceManager/Automation/Commands.Automation/ChangeLog.md @@ -19,5 +19,8 @@ --> ## Upcoming Release +## Version 1.0.1 +* Added support for starting Python 2 runbooks + ## Version 1.0.0 * General availability of `Az.Automation` module \ No newline at end of file From fabb56fb3b6838cc8dd78ba5c5e9d3ea25558ac6 Mon Sep 17 00:00:00 2001 From: maddieclayton Date: Thu, 3 Jan 2019 14:27:53 -0800 Subject: [PATCH 05/21] Write script and update cs file --- .../Commands.Compute.Netcore.csproj | 4 + .../Strategies/ComputeRp/Images.cs | 44 ++++++++++- .../Strategies/ComputeRp/Images.json | 78 +++++++++++++++++++ .../ComputeRp/SyncComputeImages.ps1 | 5 ++ 4 files changed, 129 insertions(+), 2 deletions(-) create mode 100644 src/ResourceManager/Compute/Commands.Compute/Strategies/ComputeRp/Images.json create mode 100644 src/ResourceManager/Compute/Commands.Compute/Strategies/ComputeRp/SyncComputeImages.ps1 diff --git a/src/ResourceManager/Compute/Commands.Compute/Commands.Compute.Netcore.csproj b/src/ResourceManager/Compute/Commands.Compute/Commands.Compute.Netcore.csproj index c319c1150a9c..9d9e127c2d97 100644 --- a/src/ResourceManager/Compute/Commands.Compute/Commands.Compute.Netcore.csproj +++ b/src/ResourceManager/Compute/Commands.Compute/Commands.Compute.Netcore.csproj @@ -68,6 +68,10 @@ + + + + diff --git a/src/ResourceManager/Compute/Commands.Compute/Strategies/ComputeRp/Images.cs b/src/ResourceManager/Compute/Commands.Compute/Strategies/ComputeRp/Images.cs index 59dbdbdcc48b..3bcad08d91a2 100644 --- a/src/ResourceManager/Compute/Commands.Compute/Strategies/ComputeRp/Images.cs +++ b/src/ResourceManager/Compute/Commands.Compute/Strategies/ComputeRp/Images.cs @@ -13,13 +13,53 @@ // ---------------------------------------------------------------------------------- using Microsoft.Azure.Management.Compute.Models; +using Newtonsoft.Json; +using System; using System.Collections.Generic; +using System.IO; +using System.Reflection; namespace Microsoft.Azure.Commands.Compute.Strategies.ComputeRp { static class Images { - public static Dictionary> Instance { get; } = + public static Dictionary> GenerateImageDictionary() + { + var assembly = Assembly.GetExecutingAssembly(); + var resourceName = "Microsoft.Azure.Commands.Compute.Strategies.ComputeRp.Images.json"; + + var InstanceDict = new Dictionary>(); + + using (Stream stream = assembly.GetManifestResourceStream(resourceName)) + using (StreamReader reader = new StreamReader(stream)) + { + Dictionary jsonFile = (Dictionary)JsonConvert.DeserializeObject(reader.ReadToEnd(), typeof(Dictionary)); + foreach (var OSType in jsonFile.Keys) + { + Dictionary osDict = (Dictionary)JsonConvert.DeserializeObject(jsonFile[OSType].ToString(), typeof(Dictionary)); + Dictionary innerComputeTypeDict = new Dictionary(); + foreach (var ComputerType in osDict.Keys) + { + Dictionary computerDict = (Dictionary)JsonConvert.DeserializeObject(osDict[ComputerType].ToString(), typeof(Dictionary)); + ImageReference innerImageReference = new ImageReference + { + Publisher = computerDict["publisher"], + Offer = computerDict["offer"], + Sku = computerDict["sku"], + Version = computerDict["version"] + }; + innerComputeTypeDict.Add(ComputerType, innerImageReference); + } + InstanceDict.Add(OSType, innerComputeTypeDict); + } + } + + return InstanceDict; + } + + public static Dictionary> Instance { get; } = GenerateImageDictionary(); + + /* public static Dictionary> Instance { get; } = new Dictionary> { { @@ -165,6 +205,6 @@ static class Images } } } - }; + };*/ } } diff --git a/src/ResourceManager/Compute/Commands.Compute/Strategies/ComputeRp/Images.json b/src/ResourceManager/Compute/Commands.Compute/Strategies/ComputeRp/Images.json new file mode 100644 index 000000000000..a154ce69c331 --- /dev/null +++ b/src/ResourceManager/Compute/Commands.Compute/Strategies/ComputeRp/Images.json @@ -0,0 +1,78 @@ +{ + "Linux": { + "CentOS": { + "publisher": "OpenLogic", + "offer": "CentOS", + "sku": "7.5", + "version": "latest" + }, + "CoreOS": { + "publisher": "CoreOS", + "offer": "CoreOS", + "sku": "Stable", + "version": "latest" + }, + "Debian": { + "publisher": "credativ", + "offer": "Debian", + "sku": "8", + "version": "latest" + }, + "openSUSE-Leap": { + "publisher": "SUSE", + "offer": "openSUSE-Leap", + "sku": "42.3", + "version": "latest" + }, + "RHEL": { + "publisher": "RedHat", + "offer": "RHEL", + "sku": "7-RAW", + "version": "latest" + }, + "SLES": { + "publisher": "SUSE", + "offer": "SLES", + "sku": "12-SP2", + "version": "latest" + }, + "UbuntuLTS": { + "publisher": "Canonical", + "offer": "UbuntuServer", + "sku": "16.04-LTS", + "version": "latest" + } + }, + "Windows": { + "Win2019Datacenter": { + "publisher": "MicrosoftWindowsServer", + "offer": "WindowsServer", + "sku": "2019-Datacenter", + "version": "latest" + }, + "Win2016Datacenter": { + "publisher": "MicrosoftWindowsServer", + "offer": "WindowsServer", + "sku": "2016-Datacenter", + "version": "latest" + }, + "Win2012R2Datacenter": { + "publisher": "MicrosoftWindowsServer", + "offer": "WindowsServer", + "sku": "2012-R2-Datacenter", + "version": "latest" + }, + "Win2012Datacenter": { + "publisher": "MicrosoftWindowsServer", + "offer": "WindowsServer", + "sku": "2012-Datacenter", + "version": "latest" + }, + "Win2008R2SP1": { + "publisher": "MicrosoftWindowsServer", + "offer": "WindowsServer", + "sku": "2008-R2-SP1", + "version": "latest" + } + } +} diff --git a/src/ResourceManager/Compute/Commands.Compute/Strategies/ComputeRp/SyncComputeImages.ps1 b/src/ResourceManager/Compute/Commands.Compute/Strategies/ComputeRp/SyncComputeImages.ps1 new file mode 100644 index 000000000000..b7bbaaed8331 --- /dev/null +++ b/src/ResourceManager/Compute/Commands.Compute/Strategies/ComputeRp/SyncComputeImages.ps1 @@ -0,0 +1,5 @@ + +$aliaspage = Invoke-WebRequest -Uri "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/arm-compute/quickstart-templates/aliases.json" -TimeoutSec 5 +$parsedJson = $aliaspage.Content | ConvertFrom-Json + +ConvertTo-Json $parsedJson.Outputs.Aliases.Value | Set-Content -Path $PSScriptRoot/Images.json \ No newline at end of file From ea0c8cd2f648d20df7e7f8eef10e46bf9be7f132 Mon Sep 17 00:00:00 2001 From: Leandro Wajswajn Pereyra Date: Mon, 7 Jan 2019 16:29:48 -0300 Subject: [PATCH 06/21] Fixing issue based on PR feedback --- .../Automation/Commands.Automation/Az.Automation.psd1 | 2 +- src/ResourceManager/Automation/Commands.Automation/ChangeLog.md | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/ResourceManager/Automation/Commands.Automation/Az.Automation.psd1 b/src/ResourceManager/Automation/Commands.Automation/Az.Automation.psd1 index 08deef4468cf..726be17a74bb 100644 --- a/src/ResourceManager/Automation/Commands.Automation/Az.Automation.psd1 +++ b/src/ResourceManager/Automation/Commands.Automation/Az.Automation.psd1 @@ -12,7 +12,7 @@ # RootModule = '' # Version number of this module. -ModuleVersion = '1.0.1' +ModuleVersion = '1.0.0' # Supported PSEditions CompatiblePSEditions = 'Core', 'Desktop' diff --git a/src/ResourceManager/Automation/Commands.Automation/ChangeLog.md b/src/ResourceManager/Automation/Commands.Automation/ChangeLog.md index 803efcaf7539..9d28dc705ac6 100644 --- a/src/ResourceManager/Automation/Commands.Automation/ChangeLog.md +++ b/src/ResourceManager/Automation/Commands.Automation/ChangeLog.md @@ -18,8 +18,6 @@ - Additional information about change #1 --> ## Upcoming Release - -## Version 1.0.1 * Added support for starting Python 2 runbooks ## Version 1.0.0 From 550fb426b80d6a6abbef03efde997633d6d4fed9 Mon Sep 17 00:00:00 2001 From: Leandro Wajswajn Pereyra Date: Mon, 7 Jan 2019 22:02:38 -0300 Subject: [PATCH 07/21] Added support on New-AzAutomationRunbook to create Python2 runbooks --- src/Automation/Automation/Cmdlet/NewAzureAutomationRunbook.cs | 1 + src/Automation/Automation/help/New-AzAutomationRunbook.md | 1 + 2 files changed, 2 insertions(+) diff --git a/src/Automation/Automation/Cmdlet/NewAzureAutomationRunbook.cs b/src/Automation/Automation/Cmdlet/NewAzureAutomationRunbook.cs index a9b5e0d51906..380a371f5d68 100644 --- a/src/Automation/Automation/Cmdlet/NewAzureAutomationRunbook.cs +++ b/src/Automation/Automation/Cmdlet/NewAzureAutomationRunbook.cs @@ -57,6 +57,7 @@ public class NewAzureAutomationRunbook : AzureAutomationBaseCmdlet Constants.RunbookType.PowerShellWorkflow, Constants.RunbookType.GraphicalPowerShellWorkflow, Constants.RunbookType.Graph, + Constants.RunbookType.Python2, IgnoreCase = true)] [ValidateNotNullOrEmpty] public string Type { get; set; } diff --git a/src/Automation/Automation/help/New-AzAutomationRunbook.md b/src/Automation/Automation/help/New-AzAutomationRunbook.md index 9611f1d45f27..936fde39d31a 100644 --- a/src/Automation/Automation/help/New-AzAutomationRunbook.md +++ b/src/Automation/Automation/help/New-AzAutomationRunbook.md @@ -163,6 +163,7 @@ Valid values are: - PowerShellWorkflow - GraphicalPowerShellWorkflow - Graph +- Python2 The value Graph is obsolete. It is equivalent to GraphicalPowerShellWorkflow. From 2439f3ba80e68c4551002f292173d73c2bf49450 Mon Sep 17 00:00:00 2001 From: Leandro Wajswajn Pereyra Date: Mon, 7 Jan 2019 22:49:23 -0300 Subject: [PATCH 08/21] Added test cases for starting Python2 runbooks --- .../ScenarioTests/AutomationTests.cs | 10 +++++++++- .../ScenarioTests/AutomationTests.ps1 | 14 +++++++------- .../ScenarioTests/Resources/fastjob.py | 7 +++++++ 3 files changed, 23 insertions(+), 8 deletions(-) create mode 100644 src/Automation/Automation.Test/ScenarioTests/Resources/fastjob.py diff --git a/src/Automation/Automation.Test/ScenarioTests/AutomationTests.cs b/src/Automation/Automation.Test/ScenarioTests/AutomationTests.cs index 9d4f2891346f..19ccfaef1e48 100644 --- a/src/Automation/Automation.Test/ScenarioTests/AutomationTests.cs +++ b/src/Automation/Automation.Test/ScenarioTests/AutomationTests.cs @@ -81,7 +81,15 @@ public void TestAutomationStartUnpublishedRunbook() [Trait(Category.Service, Category.Automation)] public void TestAutomationRunbookWithParameter() { - RunPowerShellTest(_logger, "Test-RunbookWithParameter -runbookPath ScenarioTests\\Resources\\fastJob.ps1 @{'nums'='[1,2,3,4,5,6,7]'} 28"); + RunPowerShellTest(_logger, "Test-RunbookWithParameter -runbookPath ScenarioTests\\Resources\\fastJob.ps1 -type 'PowerShell' -parameters @{'nums'='[1,2,3,4,5,6,7]'} -expectedResult 28"); + } + + [Fact(Skip = "Need x64 test framework.")] + [Trait(Category.AcceptanceType, Category.CheckIn)] + [Trait(Category.Service, Category.Automation)] + public void TestAutomationPy2RunbookWithParameter() + { + RunPowerShellTest(_logger, "Test-RunbookWithParameter -runbookPath ScenarioTests\\Resources\\fastJob.py -type 'Python2' -parameters @{'param1'='1';'param2'='2';'param3'='3';'param4'='4';'param5'='5';'param6'='6';'param7'='7'} -expectedResult 28"); } } } diff --git a/src/Automation/Automation.Test/ScenarioTests/AutomationTests.ps1 b/src/Automation/Automation.Test/ScenarioTests/AutomationTests.ps1 index 0cc8902689bd..0308490d89b1 100644 --- a/src/Automation/Automation.Test/ScenarioTests/AutomationTests.ps1 +++ b/src/Automation/Automation.Test/ScenarioTests/AutomationTests.ps1 @@ -43,22 +43,22 @@ Checks whether the runbook exists and if it exists, removes it and then imports #> function CreateRunbook { - param([string] $runbookPath, [boolean] $byName=$false, [string[]] $tag, [string] $description) + param([string] $runbookPath, [boolean] $byName=$false, [string[]] $tag, [string] $description, [string] $type = "PowerShell") $runbookName = gci $runbookPath | %{$_.BaseName} - $runbook = Get-AzureRmAutomationRunbook $accountName | where {$_.Name -eq $runbookName} + $runbook = Get-AzureRmAutomationRunbook $accountName | where {$_.Name -eq $runbookName -and $_.RunbookType -eq $type} if ($runbook.Count -eq 1) { - Remove-AzureRmAutomationRunbook $accountName -Name $runbookName -Force + $runbook | Remove-AzureRmAutomationRunbook -Force } if(!$byName) { - return New-AzureRmAutomationRunbook $accountName -Path $runbookPath -Tag $tag -Description $description + return New-AzureRmAutomationRunbook $accountName -Path $runbookPath -Tag $tag -Description $description -Type $type } else { - return New-AzureRmAutomationRunbook $accountName -Name $runbookName -Tag $tag -Description $description + return New-AzureRmAutomationRunbook $accountName -Name $runbookName -Tag $tag -Description $description -Type $type } } @@ -101,13 +101,13 @@ Tests Runbook with Parameters #> function Test-RunbookWithParameter { - param([string] $runbookPath, [HashTable] $parameters, [int]$expectedResult) + param([string] $runbookPath, [string] $type, [HashTable] $parameters, [int]$expectedResult) #Setup $automationAccount = Get-AzureRmAutomationAccount -Name $accountName Assert-NotNull $automationAccount "Automation account $accountName does not exist." - $runbook = CreateRunbook $runbookPath + $runbook = CreateRunbook $runbookPath -type $type Assert-NotNull $runbook "runBook $runbookPath does not import successfully." $automationAccount | Publish-AzureRmAutomationRunbook -Name $runbook.Name diff --git a/src/Automation/Automation.Test/ScenarioTests/Resources/fastjob.py b/src/Automation/Automation.Test/ScenarioTests/Resources/fastjob.py new file mode 100644 index 000000000000..f5e7ffce0682 --- /dev/null +++ b/src/Automation/Automation.Test/ScenarioTests/Resources/fastjob.py @@ -0,0 +1,7 @@ +import sys + +sum = 0 +for i in range(1,len(sys.argv)): + sum = sum + int(sys.argv[i]) + +print(sum) \ No newline at end of file From 47ae7f9df4760326e652de907cfab7d027304d80 Mon Sep 17 00:00:00 2001 From: maddieclayton Date: Mon, 14 Jan 2019 14:09:14 -0800 Subject: [PATCH 09/21] update script --- .../Compute/Strategies/ComputeRp/Images.cs | 150 +----------------- .../Compute/Strategies/ComputeRp/Images.json | 8 +- .../ComputeRp/SyncComputeImages.ps1 | 11 ++ 3 files changed, 19 insertions(+), 150 deletions(-) diff --git a/src/Compute/Compute/Strategies/ComputeRp/Images.cs b/src/Compute/Compute/Strategies/ComputeRp/Images.cs index 3bcad08d91a2..de8c9439143c 100644 --- a/src/Compute/Compute/Strategies/ComputeRp/Images.cs +++ b/src/Compute/Compute/Strategies/ComputeRp/Images.cs @@ -57,154 +57,6 @@ public static Dictionary> GenerateIma return InstanceDict; } - public static Dictionary> Instance { get; } = GenerateImageDictionary(); - - /* public static Dictionary> Instance { get; } = - new Dictionary> - { - { - "Linux", - new Dictionary - { - { - "CentOS", - new ImageReference - { - Publisher = "OpenLogic", - Offer = "CentOS", - Sku = "7.5", - Version = "latest", - } - }, - { - "CoreOS", - new ImageReference - { - Publisher = "CoreOS", - Offer = "CoreOS", - Sku = "Stable", - Version = "latest", - - } - }, - { - "Debian", - new ImageReference - { - Publisher = "credativ", - Offer = "Debian", - Sku = "8", - Version = "latest", - } - }, - { - "openSUSE-Leap", - new ImageReference - { - Publisher = "SUSE", - Offer = "openSUSE-Leap", - Sku = "42.3", - Version = "latest", - } - }, - { - "RHEL", - new ImageReference - { - Publisher = "RedHat", - Offer = "RHEL", - Sku = "7-RAW", - Version = "latest" - } - }, - { - "SLES", - new ImageReference - { - Publisher = "SUSE", - Offer = "SLES", - Sku = "12-SP2", - Version = "latest", - } - }, - { - "UbuntuLTS", - new ImageReference - { - Publisher = "Canonical", - Offer = "UbuntuServer", - Sku = "16.04-LTS", - Version = "latest", - } - } - } - }, - { - "Windows", - new Dictionary - { - { - "Win2019Datacenter", - new ImageReference - { - Publisher = "MicrosoftWindowsServer", - Offer = "WindowsServer", - Sku = "2019-Datacenter", - Version = "latest", - } - }, - { - "Win2016Datacenter", - new ImageReference - { - Publisher = "MicrosoftWindowsServer", - Offer = "WindowsServer", - Sku = "2016-Datacenter", - Version = "latest", - } - }, - { - "Win2012R2Datacenter", - new ImageReference - { - Publisher = "MicrosoftWindowsServer", - Offer = "WindowsServer", - Sku = "2012-R2-Datacenter", - Version = "latest", - } - }, - { - "Win2012Datacenter", - new ImageReference - { - Publisher = "MicrosoftWindowsServer", - Offer = "WindowsServer", - Sku = "2012-Datacenter", - Version = "latest", - } - }, - { - "Win2008R2SP1", - new ImageReference - { - Publisher = "MicrosoftWindowsServer", - Offer = "WindowsServer", - Sku = "2008-R2-SP1", - Version = "latest", - } - }, - { - "Win10", - new ImageReference - { - Publisher = "MicrosoftVisualStudio", - Offer = "Windows", - Sku = "Windows-10-N-x64", - Version = "latest" - } - } - } - } - };*/ + public static Dictionary> Instance { get; } = GenerateImageDictionary(); } } diff --git a/src/Compute/Compute/Strategies/ComputeRp/Images.json b/src/Compute/Compute/Strategies/ComputeRp/Images.json index a154ce69c331..87fc6f7779f7 100644 --- a/src/Compute/Compute/Strategies/ComputeRp/Images.json +++ b/src/Compute/Compute/Strategies/ComputeRp/Images.json @@ -73,6 +73,12 @@ "offer": "WindowsServer", "sku": "2008-R2-SP1", "version": "latest" - } + }, + "Win10": { + "publisher": "MicrosoftVisualStudio", + "offer": "Windows", + "sku": "Windows-10-N-x64", + "version": "latest" + } } } diff --git a/src/Compute/Compute/Strategies/ComputeRp/SyncComputeImages.ps1 b/src/Compute/Compute/Strategies/ComputeRp/SyncComputeImages.ps1 index b7bbaaed8331..54fcb16afaa2 100644 --- a/src/Compute/Compute/Strategies/ComputeRp/SyncComputeImages.ps1 +++ b/src/Compute/Compute/Strategies/ComputeRp/SyncComputeImages.ps1 @@ -2,4 +2,15 @@ $aliaspage = Invoke-WebRequest -Uri "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/arm-compute/quickstart-templates/aliases.json" -TimeoutSec 5 $parsedJson = $aliaspage.Content | ConvertFrom-Json +$win10Image = @" +{ + "publisher": "MicrosoftVisualStudio", + "offer": "Windows", + "sku": "Windows-10-N-x64", + "version": "latest" +} +"@ + +$parsedJson.Outputs.Aliases.Value.Windows | Add-Member -Name "Win10" -Value (ConvertFrom-Json $win10Image) -MemberType NoteProperty + ConvertTo-Json $parsedJson.Outputs.Aliases.Value | Set-Content -Path $PSScriptRoot/Images.json \ No newline at end of file From e7497a058ea64cf4990427742063fe96abf78ab7 Mon Sep 17 00:00:00 2001 From: maddieclayton Date: Mon, 14 Jan 2019 16:02:37 -0800 Subject: [PATCH 10/21] fix comments --- .../Compute/Strategies/ComputeRp/Images.cs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Compute/Compute/Strategies/ComputeRp/Images.cs b/src/Compute/Compute/Strategies/ComputeRp/Images.cs index de8c9439143c..2d7dda9a3233 100644 --- a/src/Compute/Compute/Strategies/ComputeRp/Images.cs +++ b/src/Compute/Compute/Strategies/ComputeRp/Images.cs @@ -28,19 +28,19 @@ public static Dictionary> GenerateIma var assembly = Assembly.GetExecutingAssembly(); var resourceName = "Microsoft.Azure.Commands.Compute.Strategies.ComputeRp.Images.json"; - var InstanceDict = new Dictionary>(); + var instanceDict = new Dictionary>(); using (Stream stream = assembly.GetManifestResourceStream(resourceName)) using (StreamReader reader = new StreamReader(stream)) { Dictionary jsonFile = (Dictionary)JsonConvert.DeserializeObject(reader.ReadToEnd(), typeof(Dictionary)); - foreach (var OSType in jsonFile.Keys) + foreach (var oSType in jsonFile.Keys) { - Dictionary osDict = (Dictionary)JsonConvert.DeserializeObject(jsonFile[OSType].ToString(), typeof(Dictionary)); + Dictionary osDict = (Dictionary)JsonConvert.DeserializeObject(jsonFile[oSType].ToString(), typeof(Dictionary)); Dictionary innerComputeTypeDict = new Dictionary(); - foreach (var ComputerType in osDict.Keys) + foreach (var computerType in osDict.Keys) { - Dictionary computerDict = (Dictionary)JsonConvert.DeserializeObject(osDict[ComputerType].ToString(), typeof(Dictionary)); + Dictionary computerDict = (Dictionary)JsonConvert.DeserializeObject(osDict[computerType].ToString(), typeof(Dictionary)); ImageReference innerImageReference = new ImageReference { Publisher = computerDict["publisher"], @@ -48,13 +48,13 @@ public static Dictionary> GenerateIma Sku = computerDict["sku"], Version = computerDict["version"] }; - innerComputeTypeDict.Add(ComputerType, innerImageReference); + innerComputeTypeDict.Add(computerType, innerImageReference); } - InstanceDict.Add(OSType, innerComputeTypeDict); + instanceDict.Add(oSType, innerComputeTypeDict); } } - return InstanceDict; + return instanceDict; } public static Dictionary> Instance { get; } = GenerateImageDictionary(); From 234bba99c267a4c593e200d9109646f259d3d181 Mon Sep 17 00:00:00 2001 From: maddieclayton Date: Mon, 14 Jan 2019 16:50:30 -0800 Subject: [PATCH 11/21] Add warning message for PS 6 --- src/Accounts/Accounts/ChangeLog.md | 1 + .../Accounts/UninstallAzureRm/UninstallAzureRm.cs | 8 ++++++++ src/Accounts/Accounts/help/Uninstall-AzureRm.md | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/Accounts/Accounts/ChangeLog.md b/src/Accounts/Accounts/ChangeLog.md index 56b1982e7019..da0ac7a0ca11 100644 --- a/src/Accounts/Accounts/ChangeLog.md +++ b/src/Accounts/Accounts/ChangeLog.md @@ -19,6 +19,7 @@ --> ## Upcoming Release * Update incorrect online help URLs +* Add warning message in PS Core for Uninstall-AzureRm ## Version 1.1.0 * Add 'Local' Scope to Enable-AzureRmAlias diff --git a/src/Accounts/Accounts/UninstallAzureRm/UninstallAzureRm.cs b/src/Accounts/Accounts/UninstallAzureRm/UninstallAzureRm.cs index ece386f8801e..f537eb1bfd99 100644 --- a/src/Accounts/Accounts/UninstallAzureRm/UninstallAzureRm.cs +++ b/src/Accounts/Accounts/UninstallAzureRm/UninstallAzureRm.cs @@ -14,6 +14,7 @@ using Microsoft.Azure.Commands.Common.Authentication; using Microsoft.Azure.Commands.ResourceManager.Common; using System; +using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; @@ -33,6 +34,13 @@ public class UninstallAzureRmCommand : AzureRMCmdlet public override void ExecuteCmdlet() { + var version = (this.SessionState.PSVariable.Get("PSVersionTable").Value as Hashtable)["PSVersion"]; + if (Convert.ToInt64(version.ToString().Substring(0, 1)) >= 6) + { + WriteWarning("Running this cmdlet in PowerShell Core will not remove the modules from PowerShell 5.1. " + + "Please rerun this cmdlet in a PowerShell 5.1 session to remove the modules from PowerShell 5.1."); + } + List AzureModules = new List { "Azure.AnalysisServices", "Azure.Storage", "AzureRM", "AzureRM.AnalysisServices", "AzureRM.ApiManagement", "AzureRM.ApplicationInsights", "AzureRM.Automation", "AzureRM.Backup", "AzureRM.Batch", "AzureRM.Billing", "AzureRM.Cdn", "AzureRM.CognitiveServices", "AzureRM.Compute", "AzureRM.Compute.Experiments", "AzureRM.Consumption", diff --git a/src/Accounts/Accounts/help/Uninstall-AzureRm.md b/src/Accounts/Accounts/help/Uninstall-AzureRm.md index dfc54e03ab90..66b13703b61a 100644 --- a/src/Accounts/Accounts/help/Uninstall-AzureRm.md +++ b/src/Accounts/Accounts/help/Uninstall-AzureRm.md @@ -27,7 +27,7 @@ Removes all AzureRm modules from a machine. PS C:\> Uninstall-AzureRm ``` -Running this command will remove all AzureRm modules from the machine. +Running this command will remove all AzureRm modules from the machine for the version of PowerShell in which the cmdlet is run. ## PARAMETERS From c8d2eb00a5ebd5591ab104a884330272f9eeffab Mon Sep 17 00:00:00 2001 From: maddieclayton Date: Tue, 15 Jan 2019 10:30:59 -0800 Subject: [PATCH 12/21] Fix test --- .../Accounts/UninstallAzureRm/UninstallAzureRm.cs | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/Accounts/Accounts/UninstallAzureRm/UninstallAzureRm.cs b/src/Accounts/Accounts/UninstallAzureRm/UninstallAzureRm.cs index f537eb1bfd99..21193065b32f 100644 --- a/src/Accounts/Accounts/UninstallAzureRm/UninstallAzureRm.cs +++ b/src/Accounts/Accounts/UninstallAzureRm/UninstallAzureRm.cs @@ -34,11 +34,14 @@ public class UninstallAzureRmCommand : AzureRMCmdlet public override void ExecuteCmdlet() { - var version = (this.SessionState.PSVariable.Get("PSVersionTable").Value as Hashtable)["PSVersion"]; - if (Convert.ToInt64(version.ToString().Substring(0, 1)) >= 6) + if (this.SessionState != null) { - WriteWarning("Running this cmdlet in PowerShell Core will not remove the modules from PowerShell 5.1. " + - "Please rerun this cmdlet in a PowerShell 5.1 session to remove the modules from PowerShell 5.1."); + var version = (this.SessionState.PSVariable.Get("PSVersionTable").Value as Hashtable)["PSVersion"]; + if (Convert.ToInt64(version.ToString().Substring(0, 1)) >= 6) + { + WriteWarning("Running this cmdlet in PowerShell Core will not remove the modules from PowerShell 5.1. " + + "Please rerun this cmdlet in a PowerShell 5.1 session to remove the modules from PowerShell 5.1."); + } } List AzureModules = new List { "Azure.AnalysisServices", "Azure.Storage", "AzureRM", "AzureRM.AnalysisServices", From 6d7ed44a02e641a827d81433fe8126fa1d1e0dd0 Mon Sep 17 00:00:00 2001 From: cormacpayne Date: Wed, 16 Jan 2019 08:31:08 -0800 Subject: [PATCH 13/21] Fix typo in AD credential reference documentation --- src/Resources/Resources/help/New-AzADAppCredential.md | 2 +- src/Resources/Resources/help/New-AzADSpCredential.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Resources/Resources/help/New-AzADAppCredential.md b/src/Resources/Resources/help/New-AzADAppCredential.md index 616cef0df494..efee2e2cb747 100644 --- a/src/Resources/Resources/help/New-AzADAppCredential.md +++ b/src/Resources/Resources/help/New-AzADAppCredential.md @@ -79,7 +79,7 @@ A new password credential is added to the existing appplication with object id ' ### Example 2 - Create a new application credential using a certificate ``` -PS C:\> $cer = New-Object System.Security.Cryptography.X509Certificates.X509Certificate +PS C:\> $cer = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2 PS C:\> $cer.Import("C:\myapp.cer") PS C:\> $binCert = $cer.GetRawCertData() PS C:\> $credValue = [System.Convert]::ToBase64String($binCert) diff --git a/src/Resources/Resources/help/New-AzADSpCredential.md b/src/Resources/Resources/help/New-AzADSpCredential.md index 70d5fa10f877..f69c383b265e 100644 --- a/src/Resources/Resources/help/New-AzADSpCredential.md +++ b/src/Resources/Resources/help/New-AzADSpCredential.md @@ -72,7 +72,7 @@ A new password credential is added to the existing service principal with object ### Example 2 - Create a new service principal credential using a certificate ``` -PS C:\> $cer = New-Object System.Security.Cryptography.X509Certificates.X509Certificate +PS C:\> $cer = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2 PS C:\> $cer.Import("C:\myapp.cer") PS C:\> $binCert = $cer.GetRawCertData() PS C:\> $credValue = [System.Convert]::ToBase64String($binCert) From a9cd103392c13bb29296b7d473fa40a954bf341f Mon Sep 17 00:00:00 2001 From: maddieclayton Date: Wed, 16 Jan 2019 14:41:28 -0800 Subject: [PATCH 14/21] fix help generation --- tools/GenerateHelp.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/GenerateHelp.ps1 b/tools/GenerateHelp.ps1 index 3eb4e7426ab7..8f896dca7ac0 100644 --- a/tools/GenerateHelp.ps1 +++ b/tools/GenerateHelp.ps1 @@ -11,7 +11,7 @@ Param( [string]$FilteredModules ) -$ResourceManagerFolders = Get-ChildItem -Directory -Path "$PSScriptRoot\..\src" | Where-Object { $_.Name -ne 'lib' -and $_.Name -ne 'Package' } +$ResourceManagerFolders = Get-ChildItem -Directory -Path "$PSScriptRoot\..\src" | Where-Object { $_.Name -ne 'lib' -and $_.Name -ne 'artifacts' } Import-Module "$PSScriptRoot\HelpGeneration\HelpGeneration.psm1" $UnfilteredHelpFolders = Get-ChildItem "help" -Path "$PSScriptRoot\.." -Recurse -Directory | where { $_.FullName -like "*$BuildConfig*" -and $_.FullName -notlike "*Stack*" } $FilteredHelpFolders = $UnfilteredHelpFolders @@ -58,7 +58,7 @@ if ($ValidateMarkdownHelp) Copy-Item -Path "$PSScriptRoot\HelpGeneration\Exceptions\ValidateHelpIssues.csv" -Destination $SuppressedExceptionsPath New-Item -Path $NewExceptionsPath -Name ValidateHelpIssues.csv -ItemType File -Force | Out-Null Add-Content "$NewExceptionsPath\ValidateHelpIssues.csv" "Target,Description" - $FilteredHelpFolders | foreach { Validate-MarkdownHelp $_ $SuppressedExceptionsPath $NewExceptionsPath } + $FilteredHelpFolders | foreach { Validate-MarkdownHelp $_.FullName $SuppressedExceptionsPath $NewExceptionsPath } $Exceptions = Import-Csv "$NewExceptionsPath\ValidateHelpIssues.csv" if (($Exceptions | Measure-Object).Count -gt 0) { @@ -73,5 +73,5 @@ if ($ValidateMarkdownHelp) if ($GenerateMamlHelp) { - $FilteredHelpFolders | foreach { Generate-MamlHelp $_ } + $FilteredHelpFolders | foreach { Generate-MamlHelp $_.FullName } } \ No newline at end of file From e578510c6e68a04f6a5edf9a64e9b8a6c42e5a83 Mon Sep 17 00:00:00 2001 From: maddieclayton Date: Wed, 16 Jan 2019 14:42:40 -0800 Subject: [PATCH 15/21] revert unneeded changes --- tools/GenerateHelp.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/GenerateHelp.ps1 b/tools/GenerateHelp.ps1 index 8f896dca7ac0..a200a89b87a6 100644 --- a/tools/GenerateHelp.ps1 +++ b/tools/GenerateHelp.ps1 @@ -11,7 +11,7 @@ Param( [string]$FilteredModules ) -$ResourceManagerFolders = Get-ChildItem -Directory -Path "$PSScriptRoot\..\src" | Where-Object { $_.Name -ne 'lib' -and $_.Name -ne 'artifacts' } +$ResourceManagerFolders = Get-ChildItem -Directory -Path "$PSScriptRoot\..\src" | Where-Object { $_.Name -ne 'lib' -and $_.Name -ne 'Package' } Import-Module "$PSScriptRoot\HelpGeneration\HelpGeneration.psm1" $UnfilteredHelpFolders = Get-ChildItem "help" -Path "$PSScriptRoot\.." -Recurse -Directory | where { $_.FullName -like "*$BuildConfig*" -and $_.FullName -notlike "*Stack*" } $FilteredHelpFolders = $UnfilteredHelpFolders From 297558190298a806c642a06fc811077267fbadbd Mon Sep 17 00:00:00 2001 From: cormacpayne Date: Wed, 16 Jan 2019 16:57:22 -0800 Subject: [PATCH 16/21] Fix formatting issue with PSResourceGroupDeployment object --- .../SdkExtensions/ResourcesExtensions.cs | 10 ++++++++-- src/Resources/Resources/ChangeLog.md | 2 ++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/Resources/ResourceManager/SdkExtensions/ResourcesExtensions.cs b/src/Resources/ResourceManager/SdkExtensions/ResourcesExtensions.cs index 6057c4dd5cad..a1dff2e3732a 100644 --- a/src/Resources/ResourceManager/SdkExtensions/ResourcesExtensions.cs +++ b/src/Resources/ResourceManager/SdkExtensions/ResourcesExtensions.cs @@ -175,14 +175,20 @@ public static string ConstructDeploymentVariableTable(Dictionary maxNameLength = Math.Max(maxNameLength, k.Length + 2)); + + var maxTypeLength = 25; + dictionary.Values.ForEach(v => maxTypeLength = Math.Max(maxTypeLength, v.Type.Length + 2)); + StringBuilder result = new StringBuilder(); if (dictionary.Count > 0) { - string rowFormat = "{0, -15} {1, -25} {2, -10}\r\n"; + string rowFormat = "{0, -" + maxNameLength +"} {1, -" + maxTypeLength + "} {2, -10}\r\n"; result.AppendLine(); result.AppendFormat(rowFormat, "Name", "Type", "Value"); - result.AppendFormat(rowFormat, GeneralUtilities.GenerateSeparator(15, "="), GeneralUtilities.GenerateSeparator(25, "="), GeneralUtilities.GenerateSeparator(10, "=")); + result.AppendFormat(rowFormat, GeneralUtilities.GenerateSeparator(maxNameLength, "="), GeneralUtilities.GenerateSeparator(maxTypeLength, "="), GeneralUtilities.GenerateSeparator(10, "=")); foreach (KeyValuePair pair in dictionary) { diff --git a/src/Resources/Resources/ChangeLog.md b/src/Resources/Resources/ChangeLog.md index 70161e33d54c..5812f44a6b92 100644 --- a/src/Resources/Resources/ChangeLog.md +++ b/src/Resources/Resources/ChangeLog.md @@ -19,6 +19,8 @@ --> ## Upcoming Release * Fix incorrect examples in `New-AzADAppCredential` and `New-AzADSpCredential` reference documentation +* Fix formatting issue with `PSResourceGroupDeployment` object + - More information here: https://github.com/Azure/azure-powershell/issues/2123 ## Version 1.1.0 * Fix parameter set issue when providing `-ODataQuery` and `-ResourceId` parameters for `Get-AzResource` From 74d7eb5d310b6411caf6a46db84d59dc242a7a94 Mon Sep 17 00:00:00 2001 From: Cormac McCarthy Date: Thu, 17 Jan 2019 08:11:09 -0800 Subject: [PATCH 17/21] Fix typo in New-AzDeployment.md --- src/Resources/Resources/help/New-AzDeployment.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Resources/Resources/help/New-AzDeployment.md b/src/Resources/Resources/help/New-AzDeployment.md index ebef98f19a6b..b52f7c444bbf 100644 --- a/src/Resources/Resources/help/New-AzDeployment.md +++ b/src/Resources/Resources/help/New-AzDeployment.md @@ -75,7 +75,7 @@ This includes the resources that the deployment requires. An Azure resource is a user-managed Azure entity. A resource can live in a resource group, like database server, database, website, virtual machine, or Storage account. Or, it can be a subscription level resource, like role definition, policy definition, etc. -To add resources to a resource group, use the **New-AzDeployment** which creates a deployment at a resource group. +To add resources to a resource group, use the **New-AzResourceGroupDeployment** which creates a deployment at a resource group. The **New-AzDeployment** cmdlet creates a deployment at the current subscription scope, which deploys subscription level resources. To add a deployment at subscription, specify the location and a template. From 075d80efeb5caa67f48052920a9fb4944a9a7425 Mon Sep 17 00:00:00 2001 From: MiYanni Date: Thu, 17 Jan 2019 11:59:35 -0800 Subject: [PATCH 18/21] Fix dll help filenames. --- .../CognitiveServices/help/Get-AzCognitiveServicesAccount.md | 2 +- .../CognitiveServices/help/Get-AzCognitiveServicesAccountKey.md | 2 +- .../help/Get-AzCognitiveServicesAccountSkus.md | 2 +- .../help/Get-AzCognitiveServicesAccountType.md | 2 +- .../help/Get-AzCognitiveServicesAccountUsage.md | 2 +- .../CognitiveServices/help/New-AzCognitiveServicesAccount.md | 2 +- .../CognitiveServices/help/New-AzCognitiveServicesAccountKey.md | 2 +- .../CognitiveServices/help/Remove-AzCognitiveServicesAccount.md | 2 +- .../CognitiveServices/help/Set-AzCognitiveServicesAccount.md | 2 +- .../PowerBIEmbedded/help/Get-AzPowerBIWorkspace.md | 2 +- .../PowerBIEmbedded/help/Get-AzPowerBIWorkspaceCollection.md | 2 +- .../help/Get-AzPowerBIWorkspaceCollectionAccessKeys.md | 2 +- .../PowerBIEmbedded/help/New-AzPowerBIWorkspaceCollection.md | 2 +- .../PowerBIEmbedded/help/Remove-AzPowerBIWorkspaceCollection.md | 2 +- .../help/Reset-AzPowerBIWorkspaceCollectionAccessKeys.md | 2 +- .../help/Get-AzRecoveryServicesBackupProperty.md | 2 +- .../RecoveryServices/help/Get-AzRecoveryServicesVault.md | 2 +- .../help/Get-AzRecoveryServicesVaultSettingsFile.md | 2 +- .../RecoveryServices/help/New-AzRecoveryServicesVault.md | 2 +- .../RecoveryServices/help/Remove-AzRecoveryServicesVault.md | 2 +- .../help/Set-AzRecoveryServicesBackupProperties.md | 2 +- .../RecoveryServices/help/Set-AzRecoveryServicesVaultContext.md | 2 +- src/Search/Search/help/Get-AzSearchAdminKeyPair.md | 2 +- src/Search/Search/help/Get-AzSearchQueryKey.md | 2 +- src/Search/Search/help/Get-AzSearchService.md | 2 +- src/Search/Search/help/New-AzSearchAdminKey.md | 2 +- src/Search/Search/help/New-AzSearchQueryKey.md | 2 +- src/Search/Search/help/New-AzSearchService.md | 2 +- src/Search/Search/help/Remove-AzSearchQueryKey.md | 2 +- src/Search/Search/help/Remove-AzSearchService.md | 2 +- src/Search/Search/help/Set-AzSearchService.md | 2 +- src/Security/Security/help/Get-AzDiscoveredSecuritySolution.md | 2 +- src/Security/Security/help/Get-AzExternalSecuritySolution.md | 2 +- src/Security/Security/help/Get-AzJitNetworkAccessPolicy.md | 2 +- src/Security/Security/help/Get-AzSecurityAlert.md | 2 +- .../Security/help/Get-AzSecurityAutoProvisioningSetting.md | 2 +- src/Security/Security/help/Get-AzSecurityCompliance.md | 2 +- src/Security/Security/help/Get-AzSecurityContact.md | 2 +- src/Security/Security/help/Get-AzSecurityLocation.md | 2 +- src/Security/Security/help/Get-AzSecurityPricing.md | 2 +- src/Security/Security/help/Get-AzSecurityTask.md | 2 +- src/Security/Security/help/Get-AzSecurityWorkspaceSetting.md | 2 +- src/Security/Security/help/Remove-AzJitNetworkAccessPolicy.md | 2 +- src/Security/Security/help/Remove-AzSecurityContact.md | 2 +- src/Security/Security/help/Remove-AzSecurityWorkspaceSetting.md | 2 +- src/Security/Security/help/Set-AzJitNetworkAccessPolicy.md | 2 +- src/Security/Security/help/Set-AzSecurityAlert.md | 2 +- .../Security/help/Set-AzSecurityAutoProvisioningSetting.md | 2 +- src/Security/Security/help/Set-AzSecurityContact.md | 2 +- src/Security/Security/help/Set-AzSecurityPricing.md | 2 +- src/Security/Security/help/Set-AzSecurityWorkspaceSetting.md | 2 +- src/Security/Security/help/Start-AzJitNetworkAccessPolicy.md | 2 +- .../help/Add-AzRmStorageContainerLegalHold.md | 2 +- .../Storage.Management/help/Add-AzStorageAccountNetworkRule.md | 2 +- src/Storage/Storage.Management/help/Get-AzRmStorageContainer.md | 2 +- .../help/Get-AzRmStorageContainerImmutabilityPolicy.md | 2 +- src/Storage/Storage.Management/help/Get-AzStorageAccount.md | 2 +- src/Storage/Storage.Management/help/Get-AzStorageAccountKey.md | 2 +- .../help/Get-AzStorageAccountNameAvailability.md | 2 +- .../help/Get-AzStorageAccountNetworkRuleSet.md | 2 +- src/Storage/Storage.Management/help/Get-AzStorageUsage.md | 2 +- .../help/Lock-AzRmStorageContainerImmutabilityPolicy.md | 2 +- src/Storage/Storage.Management/help/New-AzRmStorageContainer.md | 2 +- src/Storage/Storage.Management/help/New-AzStorageAccount.md | 2 +- src/Storage/Storage.Management/help/New-AzStorageAccountKey.md | 2 +- .../Storage.Management/help/Remove-AzRmStorageContainer.md | 2 +- .../help/Remove-AzRmStorageContainerImmutabilityPolicy.md | 2 +- .../help/Remove-AzRmStorageContainerLegalHold.md | 2 +- src/Storage/Storage.Management/help/Remove-AzStorageAccount.md | 2 +- .../help/Remove-AzStorageAccountNetworkRule.md | 2 +- .../Storage.Management/help/Set-AzCurrentStorageAccount.md | 2 +- .../help/Set-AzRmStorageContainerImmutabilityPolicy.md | 2 +- src/Storage/Storage.Management/help/Set-AzStorageAccount.md | 2 +- .../Storage.Management/help/Update-AzRmStorageContainer.md | 2 +- .../help/Update-AzStorageAccountNetworkRuleSet.md | 2 +- 75 files changed, 75 insertions(+), 75 deletions(-) diff --git a/src/CognitiveServices/CognitiveServices/help/Get-AzCognitiveServicesAccount.md b/src/CognitiveServices/CognitiveServices/help/Get-AzCognitiveServicesAccount.md index 81c0d40b054a..9d5f36946870 100644 --- a/src/CognitiveServices/CognitiveServices/help/Get-AzCognitiveServicesAccount.md +++ b/src/CognitiveServices/CognitiveServices/help/Get-AzCognitiveServicesAccount.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.CognitiveServices.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.CognitiveServices.dll-Help.xml Module Name: Az.CognitiveServices ms.assetid: 11D5BFDF-5E5D-46B2-9F9B-A0524EFA1B42 online version: https://docs.microsoft.com/en-us/powershell/module/az.cognitiveservices/get-azcognitiveservicesaccount diff --git a/src/CognitiveServices/CognitiveServices/help/Get-AzCognitiveServicesAccountKey.md b/src/CognitiveServices/CognitiveServices/help/Get-AzCognitiveServicesAccountKey.md index a0464f57fb19..b0c7b067e6b0 100644 --- a/src/CognitiveServices/CognitiveServices/help/Get-AzCognitiveServicesAccountKey.md +++ b/src/CognitiveServices/CognitiveServices/help/Get-AzCognitiveServicesAccountKey.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.CognitiveServices.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.CognitiveServices.dll-Help.xml Module Name: Az.CognitiveServices ms.assetid: 73B1EB7E-568E-44E8-993A-91678B7D8AEE online version: https://docs.microsoft.com/en-us/powershell/module/az.cognitiveservices/get-azcognitiveservicesaccountkey diff --git a/src/CognitiveServices/CognitiveServices/help/Get-AzCognitiveServicesAccountSkus.md b/src/CognitiveServices/CognitiveServices/help/Get-AzCognitiveServicesAccountSkus.md index dcaf11eeca3f..ea004ad0c7e6 100644 --- a/src/CognitiveServices/CognitiveServices/help/Get-AzCognitiveServicesAccountSkus.md +++ b/src/CognitiveServices/CognitiveServices/help/Get-AzCognitiveServicesAccountSkus.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.CognitiveServices.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.CognitiveServices.dll-Help.xml Module Name: Az.CognitiveServices ms.assetid: 386F09F0-2EEC-4B55-825C-F2E88D3B60AA online version: https://docs.microsoft.com/en-us/powershell/module/az.cognitiveservices/get-azcognitiveservicesaccountskus diff --git a/src/CognitiveServices/CognitiveServices/help/Get-AzCognitiveServicesAccountType.md b/src/CognitiveServices/CognitiveServices/help/Get-AzCognitiveServicesAccountType.md index 8632849bc90c..ad8139f96f96 100644 --- a/src/CognitiveServices/CognitiveServices/help/Get-AzCognitiveServicesAccountType.md +++ b/src/CognitiveServices/CognitiveServices/help/Get-AzCognitiveServicesAccountType.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.CognitiveServices.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.CognitiveServices.dll-Help.xml Module Name: Az.CognitiveServices online version: https://docs.microsoft.com/en-us/powershell/module/az.cognitiveservices/get-azcognitiveservicesaccounttype schema: 2.0.0 diff --git a/src/CognitiveServices/CognitiveServices/help/Get-AzCognitiveServicesAccountUsage.md b/src/CognitiveServices/CognitiveServices/help/Get-AzCognitiveServicesAccountUsage.md index 5ae9b02e4c34..173aea980aae 100644 --- a/src/CognitiveServices/CognitiveServices/help/Get-AzCognitiveServicesAccountUsage.md +++ b/src/CognitiveServices/CognitiveServices/help/Get-AzCognitiveServicesAccountUsage.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.CognitiveServices.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.CognitiveServices.dll-Help.xml Module Name: Az.CognitiveServices online version: https://docs.microsoft.com/en-us/powershell/module/az.cognitiveservices/get-azcognitiveservicesaccountusage schema: 2.0.0 diff --git a/src/CognitiveServices/CognitiveServices/help/New-AzCognitiveServicesAccount.md b/src/CognitiveServices/CognitiveServices/help/New-AzCognitiveServicesAccount.md index 4f35f909bffa..e0d0d534ae73 100644 --- a/src/CognitiveServices/CognitiveServices/help/New-AzCognitiveServicesAccount.md +++ b/src/CognitiveServices/CognitiveServices/help/New-AzCognitiveServicesAccount.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.CognitiveServices.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.CognitiveServices.dll-Help.xml Module Name: Az.CognitiveServices ms.assetid: A2B4ACC1-6F53-47DE-A2D4-831E8AC89A5C online version: https://docs.microsoft.com/en-us/powershell/module/az.cognitiveservices/new-azcognitiveservicesaccount diff --git a/src/CognitiveServices/CognitiveServices/help/New-AzCognitiveServicesAccountKey.md b/src/CognitiveServices/CognitiveServices/help/New-AzCognitiveServicesAccountKey.md index 2877ff3f46f8..c45d6cb1533f 100644 --- a/src/CognitiveServices/CognitiveServices/help/New-AzCognitiveServicesAccountKey.md +++ b/src/CognitiveServices/CognitiveServices/help/New-AzCognitiveServicesAccountKey.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.CognitiveServices.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.CognitiveServices.dll-Help.xml Module Name: Az.CognitiveServices ms.assetid: E0819A61-157A-4DFD-B492-09C8F1C38E18 online version: https://docs.microsoft.com/en-us/powershell/module/az.cognitiveservices/new-azcognitiveservicesaccountkey diff --git a/src/CognitiveServices/CognitiveServices/help/Remove-AzCognitiveServicesAccount.md b/src/CognitiveServices/CognitiveServices/help/Remove-AzCognitiveServicesAccount.md index ebae76102b3a..5b0010a7944c 100644 --- a/src/CognitiveServices/CognitiveServices/help/Remove-AzCognitiveServicesAccount.md +++ b/src/CognitiveServices/CognitiveServices/help/Remove-AzCognitiveServicesAccount.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.CognitiveServices.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.CognitiveServices.dll-Help.xml Module Name: Az.CognitiveServices ms.assetid: 87A79215-5688-474D-822A-6B84B3D10E3F online version: https://docs.microsoft.com/en-us/powershell/module/az.cognitiveservices/remove-azcognitiveservicesaccount diff --git a/src/CognitiveServices/CognitiveServices/help/Set-AzCognitiveServicesAccount.md b/src/CognitiveServices/CognitiveServices/help/Set-AzCognitiveServicesAccount.md index bf67a3a1ba83..edfb49f1b525 100644 --- a/src/CognitiveServices/CognitiveServices/help/Set-AzCognitiveServicesAccount.md +++ b/src/CognitiveServices/CognitiveServices/help/Set-AzCognitiveServicesAccount.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.CognitiveServices.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.CognitiveServices.dll-Help.xml Module Name: Az.CognitiveServices ms.assetid: 11E2D82A-1DF1-4E19-8328-44674641D1BB online version: https://docs.microsoft.com/en-us/powershell/module/az.cognitiveservices/set-azcognitiveservicesaccount diff --git a/src/PowerBIEmbedded/PowerBIEmbedded/help/Get-AzPowerBIWorkspace.md b/src/PowerBIEmbedded/PowerBIEmbedded/help/Get-AzPowerBIWorkspace.md index fc0300bb4f31..9533df241674 100644 --- a/src/PowerBIEmbedded/PowerBIEmbedded/help/Get-AzPowerBIWorkspace.md +++ b/src/PowerBIEmbedded/PowerBIEmbedded/help/Get-AzPowerBIWorkspace.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.PowerBIEmbedded.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.PowerBIEmbedded.dll-Help.xml Module Name: Az.PowerBIEmbedded ms.assetid: 5321FC62-3585-4493-A3D2-22CD82503CA7 online version: https://docs.microsoft.com/en-us/powershell/module/az.powerbiembedded/get-azpowerbiworkspace diff --git a/src/PowerBIEmbedded/PowerBIEmbedded/help/Get-AzPowerBIWorkspaceCollection.md b/src/PowerBIEmbedded/PowerBIEmbedded/help/Get-AzPowerBIWorkspaceCollection.md index 21e23077cc32..22acf1ef0f13 100644 --- a/src/PowerBIEmbedded/PowerBIEmbedded/help/Get-AzPowerBIWorkspaceCollection.md +++ b/src/PowerBIEmbedded/PowerBIEmbedded/help/Get-AzPowerBIWorkspaceCollection.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.PowerBIEmbedded.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.PowerBIEmbedded.dll-Help.xml Module Name: Az.PowerBIEmbedded ms.assetid: EEF32F48-00F6-4C57-B4F1-B58B566EAFEF online version: https://docs.microsoft.com/en-us/powershell/module/az.powerbiembedded/get-azpowerbiworkspacecollection diff --git a/src/PowerBIEmbedded/PowerBIEmbedded/help/Get-AzPowerBIWorkspaceCollectionAccessKeys.md b/src/PowerBIEmbedded/PowerBIEmbedded/help/Get-AzPowerBIWorkspaceCollectionAccessKeys.md index 3c54dd6509cc..3632f2c8cf20 100644 --- a/src/PowerBIEmbedded/PowerBIEmbedded/help/Get-AzPowerBIWorkspaceCollectionAccessKeys.md +++ b/src/PowerBIEmbedded/PowerBIEmbedded/help/Get-AzPowerBIWorkspaceCollectionAccessKeys.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.PowerBIEmbedded.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.PowerBIEmbedded.dll-Help.xml Module Name: Az.PowerBIEmbedded ms.assetid: 3FED0088-47DA-4565-B9F0-DACF9B2DC0C7 online version: https://docs.microsoft.com/en-us/powershell/module/az.powerbiembedded/get-azpowerbiworkspacecollectionaccesskeys diff --git a/src/PowerBIEmbedded/PowerBIEmbedded/help/New-AzPowerBIWorkspaceCollection.md b/src/PowerBIEmbedded/PowerBIEmbedded/help/New-AzPowerBIWorkspaceCollection.md index 2fd66287c37b..99b62fa82edd 100644 --- a/src/PowerBIEmbedded/PowerBIEmbedded/help/New-AzPowerBIWorkspaceCollection.md +++ b/src/PowerBIEmbedded/PowerBIEmbedded/help/New-AzPowerBIWorkspaceCollection.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.PowerBIEmbedded.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.PowerBIEmbedded.dll-Help.xml Module Name: Az.PowerBIEmbedded ms.assetid: 9F9E4273-6747-4963-AF1F-C0AEB46770A4 online version: https://docs.microsoft.com/en-us/powershell/module/az.powerbiembedded/new-azpowerbiworkspacecollection diff --git a/src/PowerBIEmbedded/PowerBIEmbedded/help/Remove-AzPowerBIWorkspaceCollection.md b/src/PowerBIEmbedded/PowerBIEmbedded/help/Remove-AzPowerBIWorkspaceCollection.md index 6df2b7bfc30e..8383bee78d83 100644 --- a/src/PowerBIEmbedded/PowerBIEmbedded/help/Remove-AzPowerBIWorkspaceCollection.md +++ b/src/PowerBIEmbedded/PowerBIEmbedded/help/Remove-AzPowerBIWorkspaceCollection.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.PowerBIEmbedded.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.PowerBIEmbedded.dll-Help.xml Module Name: Az.PowerBIEmbedded ms.assetid: 2D63CC6D-AB02-4299-A922-4057D6F595D7 online version: https://docs.microsoft.com/en-us/powershell/module/az.powerbiembedded/remove-azpowerbiworkspacecollection diff --git a/src/PowerBIEmbedded/PowerBIEmbedded/help/Reset-AzPowerBIWorkspaceCollectionAccessKeys.md b/src/PowerBIEmbedded/PowerBIEmbedded/help/Reset-AzPowerBIWorkspaceCollectionAccessKeys.md index 7f93c5282bc2..f41deec08620 100644 --- a/src/PowerBIEmbedded/PowerBIEmbedded/help/Reset-AzPowerBIWorkspaceCollectionAccessKeys.md +++ b/src/PowerBIEmbedded/PowerBIEmbedded/help/Reset-AzPowerBIWorkspaceCollectionAccessKeys.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.PowerBIEmbedded.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.PowerBIEmbedded.dll-Help.xml Module Name: Az.PowerBIEmbedded ms.assetid: 8FB2D9A0-BF7A-482D-B3A2-566FCA8C62A1 online version: https://docs.microsoft.com/en-us/powershell/module/az.powerbiembedded/reset-azpowerbiworkspacecollectionaccesskeys diff --git a/src/RecoveryServices/RecoveryServices/help/Get-AzRecoveryServicesBackupProperty.md b/src/RecoveryServices/RecoveryServices/help/Get-AzRecoveryServicesBackupProperty.md index 961cfdc19b83..53fcc14f3f69 100644 --- a/src/RecoveryServices/RecoveryServices/help/Get-AzRecoveryServicesBackupProperty.md +++ b/src/RecoveryServices/RecoveryServices/help/Get-AzRecoveryServicesBackupProperty.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.RecoveryServices.ARM.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.RecoveryServices.dll-Help.xml Module Name: Az.RecoveryServices online version: https://docs.microsoft.com/en-us/powershell/module/az.recoveryservices/get-azrecoveryservicesbackupproperty schema: 2.0.0 diff --git a/src/RecoveryServices/RecoveryServices/help/Get-AzRecoveryServicesVault.md b/src/RecoveryServices/RecoveryServices/help/Get-AzRecoveryServicesVault.md index 461f53cfb3dc..acec1263fe1b 100644 --- a/src/RecoveryServices/RecoveryServices/help/Get-AzRecoveryServicesVault.md +++ b/src/RecoveryServices/RecoveryServices/help/Get-AzRecoveryServicesVault.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.RecoveryServices.ARM.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.RecoveryServices.dll-Help.xml Module Name: Az.RecoveryServices ms.assetid: 818B5302-91EE-425F-B1CD-86B626F1B7A3 online version: https://docs.microsoft.com/en-us/powershell/module/az.recoveryservices/get-azrecoveryservicesvault diff --git a/src/RecoveryServices/RecoveryServices/help/Get-AzRecoveryServicesVaultSettingsFile.md b/src/RecoveryServices/RecoveryServices/help/Get-AzRecoveryServicesVaultSettingsFile.md index 741a020ceb6f..4b0d9999c322 100644 --- a/src/RecoveryServices/RecoveryServices/help/Get-AzRecoveryServicesVaultSettingsFile.md +++ b/src/RecoveryServices/RecoveryServices/help/Get-AzRecoveryServicesVaultSettingsFile.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.RecoveryServices.ARM.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.RecoveryServices.dll-Help.xml Module Name: Az.RecoveryServices ms.assetid: 56074606-28A6-4F91-A56C-4C8A9A31543F online version: https://docs.microsoft.com/en-us/powershell/module/az.recoveryservices/get-azrecoveryservicesvaultsettingsfile diff --git a/src/RecoveryServices/RecoveryServices/help/New-AzRecoveryServicesVault.md b/src/RecoveryServices/RecoveryServices/help/New-AzRecoveryServicesVault.md index fc0949db640a..31fc96ff9c32 100644 --- a/src/RecoveryServices/RecoveryServices/help/New-AzRecoveryServicesVault.md +++ b/src/RecoveryServices/RecoveryServices/help/New-AzRecoveryServicesVault.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.RecoveryServices.ARM.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.RecoveryServices.dll-Help.xml Module Name: Az.RecoveryServices ms.assetid: 9591E150-54DA-48B7-8656-3891833FE61E online version: https://docs.microsoft.com/en-us/powershell/module/az.recoveryservices/new-azrecoveryservicesvault diff --git a/src/RecoveryServices/RecoveryServices/help/Remove-AzRecoveryServicesVault.md b/src/RecoveryServices/RecoveryServices/help/Remove-AzRecoveryServicesVault.md index 2da9e9512113..e3f70e513e9c 100644 --- a/src/RecoveryServices/RecoveryServices/help/Remove-AzRecoveryServicesVault.md +++ b/src/RecoveryServices/RecoveryServices/help/Remove-AzRecoveryServicesVault.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.RecoveryServices.ARM.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.RecoveryServices.dll-Help.xml Module Name: Az.RecoveryServices ms.assetid: 466F6B7C-BA7E-4DFD-8504-5A196A335231 online version: https://docs.microsoft.com/en-us/powershell/module/az.recoveryservices/remove-azrecoveryservicesvault diff --git a/src/RecoveryServices/RecoveryServices/help/Set-AzRecoveryServicesBackupProperties.md b/src/RecoveryServices/RecoveryServices/help/Set-AzRecoveryServicesBackupProperties.md index 66ada37dd508..6e85db2c3760 100644 --- a/src/RecoveryServices/RecoveryServices/help/Set-AzRecoveryServicesBackupProperties.md +++ b/src/RecoveryServices/RecoveryServices/help/Set-AzRecoveryServicesBackupProperties.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.RecoveryServices.ARM.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.RecoveryServices.dll-Help.xml Module Name: Az.RecoveryServices ms.assetid: C635D723-0F03-4EF8-9435-24DBE0859899 online version: https://docs.microsoft.com/en-us/powershell/module/az.recoveryservices/set-azrecoveryservicesbackupproperties diff --git a/src/RecoveryServices/RecoveryServices/help/Set-AzRecoveryServicesVaultContext.md b/src/RecoveryServices/RecoveryServices/help/Set-AzRecoveryServicesVaultContext.md index 5dd01a1af2f6..c177fa16f41a 100644 --- a/src/RecoveryServices/RecoveryServices/help/Set-AzRecoveryServicesVaultContext.md +++ b/src/RecoveryServices/RecoveryServices/help/Set-AzRecoveryServicesVaultContext.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.RecoveryServices.ARM.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.RecoveryServices.dll-Help.xml Module Name: Az.RecoveryServices ms.assetid: 368DD95E-EA25-4FC4-8171-CB7348FE480C online version: https://docs.microsoft.com/en-us/powershell/module/az.recoveryservices/set-azrecoveryservicesvaultcontext diff --git a/src/Search/Search/help/Get-AzSearchAdminKeyPair.md b/src/Search/Search/help/Get-AzSearchAdminKeyPair.md index 54f9cc34a0b9..10dad62ac21f 100644 --- a/src/Search/Search/help/Get-AzSearchAdminKeyPair.md +++ b/src/Search/Search/help/Get-AzSearchAdminKeyPair.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.Search.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Search.dll-Help.xml Module Name: Az.Search online version: https://docs.microsoft.com/en-us/powershell/module/az.search/get-azsearchadminkeypair schema: 2.0.0 diff --git a/src/Search/Search/help/Get-AzSearchQueryKey.md b/src/Search/Search/help/Get-AzSearchQueryKey.md index 9a844608e8ba..c0c230994b83 100644 --- a/src/Search/Search/help/Get-AzSearchQueryKey.md +++ b/src/Search/Search/help/Get-AzSearchQueryKey.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.Search.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Search.dll-Help.xml Module Name: Az.Search online version: https://docs.microsoft.com/en-us/powershell/module/az.search/get-azsearchquerykey schema: 2.0.0 diff --git a/src/Search/Search/help/Get-AzSearchService.md b/src/Search/Search/help/Get-AzSearchService.md index 36997498f4f7..919ab6f03ec5 100644 --- a/src/Search/Search/help/Get-AzSearchService.md +++ b/src/Search/Search/help/Get-AzSearchService.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.Search.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Search.dll-Help.xml Module Name: Az.Search online version: https://docs.microsoft.com/en-us/powershell/module/az.search/get-azsearchservice schema: 2.0.0 diff --git a/src/Search/Search/help/New-AzSearchAdminKey.md b/src/Search/Search/help/New-AzSearchAdminKey.md index 6e6f9eaaa10a..f5f370ebe9e8 100644 --- a/src/Search/Search/help/New-AzSearchAdminKey.md +++ b/src/Search/Search/help/New-AzSearchAdminKey.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.Search.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Search.dll-Help.xml Module Name: Az.Search online version: https://docs.microsoft.com/en-us/powershell/module/az.search/new-azsearchadminkey schema: 2.0.0 diff --git a/src/Search/Search/help/New-AzSearchQueryKey.md b/src/Search/Search/help/New-AzSearchQueryKey.md index 773e293c3d13..aee38b7dc79d 100644 --- a/src/Search/Search/help/New-AzSearchQueryKey.md +++ b/src/Search/Search/help/New-AzSearchQueryKey.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.Search.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Search.dll-Help.xml Module Name: Az.Search online version: https://docs.microsoft.com/en-us/powershell/module/az.search/new-azsearchquerykey schema: 2.0.0 diff --git a/src/Search/Search/help/New-AzSearchService.md b/src/Search/Search/help/New-AzSearchService.md index 670add55f397..10c9d645f002 100644 --- a/src/Search/Search/help/New-AzSearchService.md +++ b/src/Search/Search/help/New-AzSearchService.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.Search.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Search.dll-Help.xml Module Name: Az.Search online version: https://docs.microsoft.com/en-us/powershell/module/az.search/new-azsearchservice schema: 2.0.0 diff --git a/src/Search/Search/help/Remove-AzSearchQueryKey.md b/src/Search/Search/help/Remove-AzSearchQueryKey.md index 147d520f72a9..11d6d32a8095 100644 --- a/src/Search/Search/help/Remove-AzSearchQueryKey.md +++ b/src/Search/Search/help/Remove-AzSearchQueryKey.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.Search.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Search.dll-Help.xml Module Name: Az.Search online version: https://docs.microsoft.com/en-us/powershell/module/az.search/remove-azsearchquerykey schema: 2.0.0 diff --git a/src/Search/Search/help/Remove-AzSearchService.md b/src/Search/Search/help/Remove-AzSearchService.md index d9ae34462375..b63bbebb8adf 100644 --- a/src/Search/Search/help/Remove-AzSearchService.md +++ b/src/Search/Search/help/Remove-AzSearchService.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.Search.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Search.dll-Help.xml Module Name: Az.Search online version: https://docs.microsoft.com/en-us/powershell/module/az.search/remove-azsearchservice schema: 2.0.0 diff --git a/src/Search/Search/help/Set-AzSearchService.md b/src/Search/Search/help/Set-AzSearchService.md index ce5e53a86d1c..ca01d8ab65f1 100644 --- a/src/Search/Search/help/Set-AzSearchService.md +++ b/src/Search/Search/help/Set-AzSearchService.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.Search.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Search.dll-Help.xml Module Name: Az.Search online version: https://docs.microsoft.com/en-us/powershell/module/az.search/set-azsearchservice schema: 2.0.0 diff --git a/src/Security/Security/help/Get-AzDiscoveredSecuritySolution.md b/src/Security/Security/help/Get-AzDiscoveredSecuritySolution.md index 67f4357830a1..0f0c3263aaa7 100644 --- a/src/Security/Security/help/Get-AzDiscoveredSecuritySolution.md +++ b/src/Security/Security/help/Get-AzDiscoveredSecuritySolution.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.SecurityCenter.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Security.dll-Help.xml Module Name: Az.Security online version: https://docs.microsoft.com/en-us/powershell/module/az.security/Get-AzDiscoveredSecuritySolution schema: 2.0.0 diff --git a/src/Security/Security/help/Get-AzExternalSecuritySolution.md b/src/Security/Security/help/Get-AzExternalSecuritySolution.md index 15012b3d0024..793086401285 100644 --- a/src/Security/Security/help/Get-AzExternalSecuritySolution.md +++ b/src/Security/Security/help/Get-AzExternalSecuritySolution.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.SecurityCenter.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Security.dll-Help.xml Module Name: Az.Security online version: https://docs.microsoft.com/en-us/powershell/module/az.security/Get-AzExternalSecuritySolution schema: 2.0.0 diff --git a/src/Security/Security/help/Get-AzJitNetworkAccessPolicy.md b/src/Security/Security/help/Get-AzJitNetworkAccessPolicy.md index b8838cba1d98..6d52f01703d0 100644 --- a/src/Security/Security/help/Get-AzJitNetworkAccessPolicy.md +++ b/src/Security/Security/help/Get-AzJitNetworkAccessPolicy.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.SecurityCenter.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Security.dll-Help.xml Module Name: Az.Security online version: https://docs.microsoft.com/en-us/powershell/module/az.security/Get-AzJitNetworkAccessPolicy schema: 2.0.0 diff --git a/src/Security/Security/help/Get-AzSecurityAlert.md b/src/Security/Security/help/Get-AzSecurityAlert.md index 77fb8cc1406d..2ada77909a1e 100644 --- a/src/Security/Security/help/Get-AzSecurityAlert.md +++ b/src/Security/Security/help/Get-AzSecurityAlert.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.SecurityCenter.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Security.dll-Help.xml Module Name: Az.Security online version: https://docs.microsoft.com/en-us/powershell/module/az.security/Get-AzSecurityAlert schema: 2.0.0 diff --git a/src/Security/Security/help/Get-AzSecurityAutoProvisioningSetting.md b/src/Security/Security/help/Get-AzSecurityAutoProvisioningSetting.md index ce9ced86fc5d..65a4776524e3 100644 --- a/src/Security/Security/help/Get-AzSecurityAutoProvisioningSetting.md +++ b/src/Security/Security/help/Get-AzSecurityAutoProvisioningSetting.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.SecurityCenter.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Security.dll-Help.xml Module Name: Az.Security online version: https://docs.microsoft.com/en-us/powershell/module/az.security/Get-AzSecurityAutoProvisioningSetting schema: 2.0.0 diff --git a/src/Security/Security/help/Get-AzSecurityCompliance.md b/src/Security/Security/help/Get-AzSecurityCompliance.md index 710385ed8c1f..18de0c278d1c 100644 --- a/src/Security/Security/help/Get-AzSecurityCompliance.md +++ b/src/Security/Security/help/Get-AzSecurityCompliance.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.SecurityCenter.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Security.dll-Help.xml Module Name: Az.Security online version: https://docs.microsoft.com/en-us/powershell/module/az.security/Get-AzSecurityCompliance schema: 2.0.0 diff --git a/src/Security/Security/help/Get-AzSecurityContact.md b/src/Security/Security/help/Get-AzSecurityContact.md index 12828069f504..176f7ae7d620 100644 --- a/src/Security/Security/help/Get-AzSecurityContact.md +++ b/src/Security/Security/help/Get-AzSecurityContact.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.SecurityCenter.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Security.dll-Help.xml Module Name: Az.Security online version: https://docs.microsoft.com/en-us/powershell/module/az.security/Get-AzSecurityContact schema: 2.0.0 diff --git a/src/Security/Security/help/Get-AzSecurityLocation.md b/src/Security/Security/help/Get-AzSecurityLocation.md index 0f242ef8df72..c700e3eac210 100644 --- a/src/Security/Security/help/Get-AzSecurityLocation.md +++ b/src/Security/Security/help/Get-AzSecurityLocation.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.SecurityCenter.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Security.dll-Help.xml Module Name: Az.Security online version: https://docs.microsoft.com/en-us/powershell/module/az.security/Get-AzSecurityLocation schema: 2.0.0 diff --git a/src/Security/Security/help/Get-AzSecurityPricing.md b/src/Security/Security/help/Get-AzSecurityPricing.md index 15ea339c698d..e2eae4bab4f3 100644 --- a/src/Security/Security/help/Get-AzSecurityPricing.md +++ b/src/Security/Security/help/Get-AzSecurityPricing.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.SecurityCenter.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Security.dll-Help.xml Module Name: Az.Security online version: https://docs.microsoft.com/en-us/powershell/module/az.security/Get-AzSecurityPricing schema: 2.0.0 diff --git a/src/Security/Security/help/Get-AzSecurityTask.md b/src/Security/Security/help/Get-AzSecurityTask.md index ed9cdfaedf4c..c112c96ef2e5 100644 --- a/src/Security/Security/help/Get-AzSecurityTask.md +++ b/src/Security/Security/help/Get-AzSecurityTask.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.SecurityCenter.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Security.dll-Help.xml Module Name: Az.Security online version: https://docs.microsoft.com/en-us/powershell/module/az.security/Get-AzSecurityTask schema: 2.0.0 diff --git a/src/Security/Security/help/Get-AzSecurityWorkspaceSetting.md b/src/Security/Security/help/Get-AzSecurityWorkspaceSetting.md index 2a5f22e80b83..e4e55762e324 100644 --- a/src/Security/Security/help/Get-AzSecurityWorkspaceSetting.md +++ b/src/Security/Security/help/Get-AzSecurityWorkspaceSetting.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.SecurityCenter.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Security.dll-Help.xml Module Name: Az.Security online version: https://docs.microsoft.com/en-us/powershell/module/az.security/Get-AzSecurityWorkspaceSetting schema: 2.0.0 diff --git a/src/Security/Security/help/Remove-AzJitNetworkAccessPolicy.md b/src/Security/Security/help/Remove-AzJitNetworkAccessPolicy.md index 25d2fa5df167..e66c04bfaf06 100644 --- a/src/Security/Security/help/Remove-AzJitNetworkAccessPolicy.md +++ b/src/Security/Security/help/Remove-AzJitNetworkAccessPolicy.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.SecurityCenter.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Security.dll-Help.xml Module Name: Az.Security online version: https://docs.microsoft.com/en-us/powershell/module/az.security/Remove-AzJitNetworkAccessPolicy schema: 2.0.0 diff --git a/src/Security/Security/help/Remove-AzSecurityContact.md b/src/Security/Security/help/Remove-AzSecurityContact.md index 5338035f722d..e1dd883fe3ec 100644 --- a/src/Security/Security/help/Remove-AzSecurityContact.md +++ b/src/Security/Security/help/Remove-AzSecurityContact.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.SecurityCenter.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Security.dll-Help.xml Module Name: Az.Security online version: https://docs.microsoft.com/en-us/powershell/module/az.security/Remove-AzSecurityContact schema: 2.0.0 diff --git a/src/Security/Security/help/Remove-AzSecurityWorkspaceSetting.md b/src/Security/Security/help/Remove-AzSecurityWorkspaceSetting.md index 8da23147ede6..eecdb210fbed 100644 --- a/src/Security/Security/help/Remove-AzSecurityWorkspaceSetting.md +++ b/src/Security/Security/help/Remove-AzSecurityWorkspaceSetting.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.SecurityCenter.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Security.dll-Help.xml Module Name: Az.Security online version: https://docs.microsoft.com/en-us/powershell/module/az.security/Remove-AzSecurityWorkspaceSetting schema: 2.0.0 diff --git a/src/Security/Security/help/Set-AzJitNetworkAccessPolicy.md b/src/Security/Security/help/Set-AzJitNetworkAccessPolicy.md index 0953e081d04a..2838f5907cbb 100644 --- a/src/Security/Security/help/Set-AzJitNetworkAccessPolicy.md +++ b/src/Security/Security/help/Set-AzJitNetworkAccessPolicy.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.SecurityCenter.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Security.dll-Help.xml Module Name: Az.Security online version: https://docs.microsoft.com/en-us/powershell/module/az.security/Set-AzJitNetworkAccessPolicy schema: 2.0.0 diff --git a/src/Security/Security/help/Set-AzSecurityAlert.md b/src/Security/Security/help/Set-AzSecurityAlert.md index 58e99d1c38fd..4b83559cdd17 100644 --- a/src/Security/Security/help/Set-AzSecurityAlert.md +++ b/src/Security/Security/help/Set-AzSecurityAlert.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.SecurityCenter.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Security.dll-Help.xml Module Name: Az.Security online version: https://docs.microsoft.com/en-us/powershell/module/az.security/Set-AzSecurityAlert schema: 2.0.0 diff --git a/src/Security/Security/help/Set-AzSecurityAutoProvisioningSetting.md b/src/Security/Security/help/Set-AzSecurityAutoProvisioningSetting.md index 47c54544ba5f..eb0bbee355ee 100644 --- a/src/Security/Security/help/Set-AzSecurityAutoProvisioningSetting.md +++ b/src/Security/Security/help/Set-AzSecurityAutoProvisioningSetting.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.SecurityCenter.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Security.dll-Help.xml Module Name: Az.Security online version: https://docs.microsoft.com/en-us/powershell/module/az.security/Set-AzSecurityAutoProvisioningSetting schema: 2.0.0 diff --git a/src/Security/Security/help/Set-AzSecurityContact.md b/src/Security/Security/help/Set-AzSecurityContact.md index e77de56c9640..061ec9cac099 100644 --- a/src/Security/Security/help/Set-AzSecurityContact.md +++ b/src/Security/Security/help/Set-AzSecurityContact.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.SecurityCenter.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Security.dll-Help.xml Module Name: Az.Security online version: https://docs.microsoft.com/en-us/powershell/module/az.security/Set-AzSecurityContact schema: 2.0.0 diff --git a/src/Security/Security/help/Set-AzSecurityPricing.md b/src/Security/Security/help/Set-AzSecurityPricing.md index 1f9645e55a3e..36e64fc4d407 100644 --- a/src/Security/Security/help/Set-AzSecurityPricing.md +++ b/src/Security/Security/help/Set-AzSecurityPricing.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.SecurityCenter.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Security.dll-Help.xml Module Name: Az.Security online version: https://docs.microsoft.com/en-us/powershell/module/az.security/Set-AzSecurityPricing schema: 2.0.0 diff --git a/src/Security/Security/help/Set-AzSecurityWorkspaceSetting.md b/src/Security/Security/help/Set-AzSecurityWorkspaceSetting.md index 7ecf340c4a58..a3277091181b 100644 --- a/src/Security/Security/help/Set-AzSecurityWorkspaceSetting.md +++ b/src/Security/Security/help/Set-AzSecurityWorkspaceSetting.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.SecurityCenter.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Security.dll-Help.xml Module Name: Az.Security online version: https://docs.microsoft.com/en-us/powershell/module/az.security/Set-AzSecurityWorkspaceSetting schema: 2.0.0 diff --git a/src/Security/Security/help/Start-AzJitNetworkAccessPolicy.md b/src/Security/Security/help/Start-AzJitNetworkAccessPolicy.md index 5f247a56149c..8dcaf3d26e7e 100644 --- a/src/Security/Security/help/Start-AzJitNetworkAccessPolicy.md +++ b/src/Security/Security/help/Start-AzJitNetworkAccessPolicy.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.SecurityCenter.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Security.dll-Help.xml Module Name: Az.Security online version: https://docs.microsoft.com/en-us/powershell/module/az.security/Start-AzJitNetworkAccessPolicy schema: 2.0.0 diff --git a/src/Storage/Storage.Management/help/Add-AzRmStorageContainerLegalHold.md b/src/Storage/Storage.Management/help/Add-AzRmStorageContainerLegalHold.md index 1ec44725b881..8f6235f924a2 100644 --- a/src/Storage/Storage.Management/help/Add-AzRmStorageContainerLegalHold.md +++ b/src/Storage/Storage.Management/help/Add-AzRmStorageContainerLegalHold.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.Storage.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Storage.Management.dll-Help.xml Module Name: Az.Storage online version: https://docs.microsoft.com/en-us/powershell/module/az.storage/add-azrmstoragecontainerlegalhold schema: 2.0.0 diff --git a/src/Storage/Storage.Management/help/Add-AzStorageAccountNetworkRule.md b/src/Storage/Storage.Management/help/Add-AzStorageAccountNetworkRule.md index 5c7748229e48..dbcf6d7c5037 100644 --- a/src/Storage/Storage.Management/help/Add-AzStorageAccountNetworkRule.md +++ b/src/Storage/Storage.Management/help/Add-AzStorageAccountNetworkRule.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.Storage.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Storage.Management.dll-Help.xml Module Name: Az.Storage online version: https://docs.microsoft.com/en-us/powershell/module/az.storage/add-azstorageaccountnetworkrule schema: 2.0.0 diff --git a/src/Storage/Storage.Management/help/Get-AzRmStorageContainer.md b/src/Storage/Storage.Management/help/Get-AzRmStorageContainer.md index 3fc3ea8cb049..f80f875fd9e7 100644 --- a/src/Storage/Storage.Management/help/Get-AzRmStorageContainer.md +++ b/src/Storage/Storage.Management/help/Get-AzRmStorageContainer.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.Storage.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Storage.Management.dll-Help.xml Module Name: Az.Storage online version: https://docs.microsoft.com/en-us/powershell/module/az.storage/get-azrmstoragecontainer schema: 2.0.0 diff --git a/src/Storage/Storage.Management/help/Get-AzRmStorageContainerImmutabilityPolicy.md b/src/Storage/Storage.Management/help/Get-AzRmStorageContainerImmutabilityPolicy.md index 83eece8ef29d..1f62da3ecf9b 100644 --- a/src/Storage/Storage.Management/help/Get-AzRmStorageContainerImmutabilityPolicy.md +++ b/src/Storage/Storage.Management/help/Get-AzRmStorageContainerImmutabilityPolicy.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.Storage.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Storage.Management.dll-Help.xml Module Name: Az.Storage online version: https://docs.microsoft.com/en-us/powershell/module/az.storage/get-azrmstoragecontainerimmutabilitypolicy schema: 2.0.0 diff --git a/src/Storage/Storage.Management/help/Get-AzStorageAccount.md b/src/Storage/Storage.Management/help/Get-AzStorageAccount.md index 105e51d0ce5c..023b69befda3 100644 --- a/src/Storage/Storage.Management/help/Get-AzStorageAccount.md +++ b/src/Storage/Storage.Management/help/Get-AzStorageAccount.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.Storage.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Storage.Management.dll-Help.xml Module Name: Az.Storage ms.assetid: E53D5040-C1E8-4DC1-8371-F41C00B666E3 online version: https://docs.microsoft.com/en-us/powershell/module/az.storage/get-azstorageaccount diff --git a/src/Storage/Storage.Management/help/Get-AzStorageAccountKey.md b/src/Storage/Storage.Management/help/Get-AzStorageAccountKey.md index e4c9ba52a203..e78a3a3d5bf2 100644 --- a/src/Storage/Storage.Management/help/Get-AzStorageAccountKey.md +++ b/src/Storage/Storage.Management/help/Get-AzStorageAccountKey.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.Storage.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Storage.Management.dll-Help.xml Module Name: Az.Storage ms.assetid: A57A9EFA-47AC-44D8-BFA7-CDE0E2A612B3 online version: https://docs.microsoft.com/en-us/powershell/module/az.storage/get-azstorageaccountkey diff --git a/src/Storage/Storage.Management/help/Get-AzStorageAccountNameAvailability.md b/src/Storage/Storage.Management/help/Get-AzStorageAccountNameAvailability.md index 24d358134046..936a8e02332e 100644 --- a/src/Storage/Storage.Management/help/Get-AzStorageAccountNameAvailability.md +++ b/src/Storage/Storage.Management/help/Get-AzStorageAccountNameAvailability.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.Storage.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Storage.Management.dll-Help.xml Module Name: Az.Storage ms.assetid: F6EA099A-D588-49AE-9D2C-865BC32685BA online version: https://docs.microsoft.com/en-us/powershell/module/az.storage/get-azstorageaccountnameavailability diff --git a/src/Storage/Storage.Management/help/Get-AzStorageAccountNetworkRuleSet.md b/src/Storage/Storage.Management/help/Get-AzStorageAccountNetworkRuleSet.md index 457c86cbe4fe..4a6258bef1a8 100644 --- a/src/Storage/Storage.Management/help/Get-AzStorageAccountNetworkRuleSet.md +++ b/src/Storage/Storage.Management/help/Get-AzStorageAccountNetworkRuleSet.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.Storage.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Storage.Management.dll-Help.xml Module Name: Az.Storage online version: https://docs.microsoft.com/en-us/powershell/module/az.storage/get-azstorageaccountnetworkruleset schema: 2.0.0 diff --git a/src/Storage/Storage.Management/help/Get-AzStorageUsage.md b/src/Storage/Storage.Management/help/Get-AzStorageUsage.md index ca92f1a068fb..fba8b17fbcd3 100644 --- a/src/Storage/Storage.Management/help/Get-AzStorageUsage.md +++ b/src/Storage/Storage.Management/help/Get-AzStorageUsage.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.Storage.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Storage.Management.dll-Help.xml Module Name: Az.Storage ms.assetid: 11AAA319-DDBB-4156-9BE7-4DE8B80A904C online version: https://docs.microsoft.com/en-us/powershell/module/az.storage/get-azstorageusage diff --git a/src/Storage/Storage.Management/help/Lock-AzRmStorageContainerImmutabilityPolicy.md b/src/Storage/Storage.Management/help/Lock-AzRmStorageContainerImmutabilityPolicy.md index 6fbd72e83694..c85b43ebb2ac 100644 --- a/src/Storage/Storage.Management/help/Lock-AzRmStorageContainerImmutabilityPolicy.md +++ b/src/Storage/Storage.Management/help/Lock-AzRmStorageContainerImmutabilityPolicy.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.Storage.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Storage.Management.dll-Help.xml Module Name: Az.Storage online version: https://docs.microsoft.com/en-us/powershell/module/az.storage/lock-azrmstoragecontainerimmutabilitypolicy schema: 2.0.0 diff --git a/src/Storage/Storage.Management/help/New-AzRmStorageContainer.md b/src/Storage/Storage.Management/help/New-AzRmStorageContainer.md index 0276dc0f5b1f..7d99cb2f1555 100644 --- a/src/Storage/Storage.Management/help/New-AzRmStorageContainer.md +++ b/src/Storage/Storage.Management/help/New-AzRmStorageContainer.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.Storage.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Storage.Management.dll-Help.xml Module Name: Az.Storage online version: https://docs.microsoft.com/en-us/powershell/module/az.storage/new-azrmstoragecontainer schema: 2.0.0 diff --git a/src/Storage/Storage.Management/help/New-AzStorageAccount.md b/src/Storage/Storage.Management/help/New-AzStorageAccount.md index 34faacacdbac..8c882cc41a9f 100644 --- a/src/Storage/Storage.Management/help/New-AzStorageAccount.md +++ b/src/Storage/Storage.Management/help/New-AzStorageAccount.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.Storage.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Storage.Management.dll-Help.xml Module Name: Az.Storage ms.assetid: A3DA1205-B8FB-4B4C-9C40-AD303D038EDF online version: https://docs.microsoft.com/en-us/powershell/module/az.storage/new-azstorageaccount diff --git a/src/Storage/Storage.Management/help/New-AzStorageAccountKey.md b/src/Storage/Storage.Management/help/New-AzStorageAccountKey.md index 81c56d98f07b..a93969ac16f3 100644 --- a/src/Storage/Storage.Management/help/New-AzStorageAccountKey.md +++ b/src/Storage/Storage.Management/help/New-AzStorageAccountKey.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.Storage.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Storage.Management.dll-Help.xml Module Name: Az.Storage ms.assetid: FDD2CE98-6C7E-4B95-BA5B-B03B6AC6EAEF online version: https://docs.microsoft.com/en-us/powershell/module/az.storage/new-azstorageaccountkey diff --git a/src/Storage/Storage.Management/help/Remove-AzRmStorageContainer.md b/src/Storage/Storage.Management/help/Remove-AzRmStorageContainer.md index 25d3eb5e134c..2717f9c217a5 100644 --- a/src/Storage/Storage.Management/help/Remove-AzRmStorageContainer.md +++ b/src/Storage/Storage.Management/help/Remove-AzRmStorageContainer.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.Storage.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Storage.Management.dll-Help.xml Module Name: Az.Storage online version: https://docs.microsoft.com/en-us/powershell/module/az.storage/remove-azrmstoragecontainer schema: 2.0.0 diff --git a/src/Storage/Storage.Management/help/Remove-AzRmStorageContainerImmutabilityPolicy.md b/src/Storage/Storage.Management/help/Remove-AzRmStorageContainerImmutabilityPolicy.md index ab19cd48f388..17e1d397e94d 100644 --- a/src/Storage/Storage.Management/help/Remove-AzRmStorageContainerImmutabilityPolicy.md +++ b/src/Storage/Storage.Management/help/Remove-AzRmStorageContainerImmutabilityPolicy.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.Storage.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Storage.Management.dll-Help.xml Module Name: Az.Storage online version: https://docs.microsoft.com/en-us/powershell/module/az.storage/remove-azrmstoragecontainerimmutabilitypolicy schema: 2.0.0 diff --git a/src/Storage/Storage.Management/help/Remove-AzRmStorageContainerLegalHold.md b/src/Storage/Storage.Management/help/Remove-AzRmStorageContainerLegalHold.md index d0a83de3d4fd..f1d7bb2fbb2b 100644 --- a/src/Storage/Storage.Management/help/Remove-AzRmStorageContainerLegalHold.md +++ b/src/Storage/Storage.Management/help/Remove-AzRmStorageContainerLegalHold.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.Storage.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Storage.Management.dll-Help.xml Module Name: Az.Storage online version: https://docs.microsoft.com/en-us/powershell/module/az.storage/remove-azrmstoragecontainerlegalhold schema: 2.0.0 diff --git a/src/Storage/Storage.Management/help/Remove-AzStorageAccount.md b/src/Storage/Storage.Management/help/Remove-AzStorageAccount.md index e25d98eb9e81..687f4b81153e 100644 --- a/src/Storage/Storage.Management/help/Remove-AzStorageAccount.md +++ b/src/Storage/Storage.Management/help/Remove-AzStorageAccount.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.Storage.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Storage.Management.dll-Help.xml Module Name: Az.Storage ms.assetid: 006B4341-274C-4929-86EE-2E107BA9E485 online version: https://docs.microsoft.com/en-us/powershell/module/az.storage/remove-azstorageaccount diff --git a/src/Storage/Storage.Management/help/Remove-AzStorageAccountNetworkRule.md b/src/Storage/Storage.Management/help/Remove-AzStorageAccountNetworkRule.md index ce84ea2dafa7..fb421cbce638 100644 --- a/src/Storage/Storage.Management/help/Remove-AzStorageAccountNetworkRule.md +++ b/src/Storage/Storage.Management/help/Remove-AzStorageAccountNetworkRule.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.Storage.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Storage.Management.dll-Help.xml Module Name: Az.Storage online version: https://docs.microsoft.com/en-us/powershell/module/az.storage/remove-azstorageaccountnetworkrule schema: 2.0.0 diff --git a/src/Storage/Storage.Management/help/Set-AzCurrentStorageAccount.md b/src/Storage/Storage.Management/help/Set-AzCurrentStorageAccount.md index 00d4c357b8f0..0f1f8849b910 100644 --- a/src/Storage/Storage.Management/help/Set-AzCurrentStorageAccount.md +++ b/src/Storage/Storage.Management/help/Set-AzCurrentStorageAccount.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.Storage.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Storage.Management.dll-Help.xml Module Name: Az.Storage ms.assetid: 15973FE8-16C1-4B71-A3A8-6D6F67A96FDF online version: https://docs.microsoft.com/en-us/powershell/module/az.storage/set-azcurrentstorageaccount diff --git a/src/Storage/Storage.Management/help/Set-AzRmStorageContainerImmutabilityPolicy.md b/src/Storage/Storage.Management/help/Set-AzRmStorageContainerImmutabilityPolicy.md index d86470c0b04c..f2158c1d2e50 100644 --- a/src/Storage/Storage.Management/help/Set-AzRmStorageContainerImmutabilityPolicy.md +++ b/src/Storage/Storage.Management/help/Set-AzRmStorageContainerImmutabilityPolicy.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.Storage.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Storage.Management.dll-Help.xml Module Name: Az.Storage online version: https://docs.microsoft.com/en-us/powershell/module/az.storage/set-azrmstoragecontainerimmutabilitypolicy schema: 2.0.0 diff --git a/src/Storage/Storage.Management/help/Set-AzStorageAccount.md b/src/Storage/Storage.Management/help/Set-AzStorageAccount.md index f39bd430a3ad..36dce1e2e6f7 100644 --- a/src/Storage/Storage.Management/help/Set-AzStorageAccount.md +++ b/src/Storage/Storage.Management/help/Set-AzStorageAccount.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.Storage.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Storage.Management.dll-Help.xml Module Name: Az.Storage ms.assetid: 4D7EEDD7-89D4-4B1E-A9A1-B301E759CE72 online version: https://docs.microsoft.com/en-us/powershell/module/az.storage/set-azstorageaccount diff --git a/src/Storage/Storage.Management/help/Update-AzRmStorageContainer.md b/src/Storage/Storage.Management/help/Update-AzRmStorageContainer.md index 5ab6290af09a..1f0fa036ed7a 100644 --- a/src/Storage/Storage.Management/help/Update-AzRmStorageContainer.md +++ b/src/Storage/Storage.Management/help/Update-AzRmStorageContainer.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.Storage.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Storage.Management.dll-Help.xml Module Name: Az.Storage online version: https://docs.microsoft.com/en-us/powershell/module/az.storage/update-azrmstoragecontainer schema: 2.0.0 diff --git a/src/Storage/Storage.Management/help/Update-AzStorageAccountNetworkRuleSet.md b/src/Storage/Storage.Management/help/Update-AzStorageAccountNetworkRuleSet.md index 71e981b19bab..0e172bb8b1d7 100644 --- a/src/Storage/Storage.Management/help/Update-AzStorageAccountNetworkRuleSet.md +++ b/src/Storage/Storage.Management/help/Update-AzStorageAccountNetworkRuleSet.md @@ -1,5 +1,5 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Management.Storage.dll-Help.xml +external help file: Microsoft.Azure.PowerShell.Cmdlets.Storage.Management.dll-Help.xml Module Name: Az.Storage online version: https://docs.microsoft.com/en-us/powershell/module/az.storage/update-azstorageaccountnetworkruleset schema: 2.0.0 From 7146239aa23777ffb8a0b53c29f7937473fe9cdc Mon Sep 17 00:00:00 2001 From: Cormac McCarthy Date: Thu, 17 Jan 2019 12:42:18 -0800 Subject: [PATCH 19/21] Remove incorrect example from Connect-AzAccount.md --- .../Accounts/help/Connect-AzAccount.md | 25 ++++--------------- 1 file changed, 5 insertions(+), 20 deletions(-) diff --git a/src/Accounts/Accounts/help/Connect-AzAccount.md b/src/Accounts/Accounts/help/Connect-AzAccount.md index bade8fb95685..5f5792ef3131 100644 --- a/src/Accounts/Accounts/help/Connect-AzAccount.md +++ b/src/Accounts/Accounts/help/Connect-AzAccount.md @@ -1,4 +1,4 @@ ---- +--- external help file: Microsoft.Azure.PowerShell.Cmdlets.Accounts.dll-Help.xml Module Name: Az.Accounts online version: https://docs.microsoft.com/en-us/powershell/module/az.accounts/connect-azaccount @@ -74,22 +74,7 @@ This command connects to an Azure account. To run Azure Resource Manager cmdlets with this account, you must provide Microsoft account or organizational ID credentials at the prompt. If multi-factor authentication is enabled for your credentials, you must log in using the interactive option or use service principal authentication. -### Example 2: Connect to an Azure account using organizational ID credentials -```powershell -PS C:\> $Credential = Get-Credential -PS C:\> Connect-AzAccount -Credential $Credential - -Account SubscriptionName TenantId Environment -------- ---------------- -------- ----------- -azureuser@contoso.com Subscription1 xxxx-xxxx-xxxx-xxxx AzureCloud -``` - -The first command will prompt for user credentials (username and password), and then stores them in the $Credential variable. -The second command connects to an Azure account using the credentials stored in $Credential. -This account authenticates with Azure Resource Manager using organizational ID credentials. -You cannot use multi-factor authentication or Microsoft account credentials to run Azure Resource Manager cmdlets with this account. - -### Example 3: Connect to an Azure service principal account +### Example 2: Connect to an Azure service principal account ```powershell PS C:\> $Credential = Get-Credential @@ -103,7 +88,7 @@ The first command gets the service principal credentials (application id and ser The second command connect to Azure using the service principal credentials stored in $Credential for the specified Tenant. The ServicePrincipal switch parameter indicates that the account authenticates as a service principal. -### Example 4: Use an interactive login to connect to an account for a specific tenant and subscription +### Example 3: Use an interactive login to connect to an account for a specific tenant and subscription ```powershell PS C:\> Connect-AzAccount -Tenant "xxxx-xxxx-xxxx-xxxx" -SubscriptionId "yyyy-yyyy-yyyy-yyyy" Account SubscriptionName TenantId Environment @@ -113,7 +98,7 @@ azureuser@contoso.com Subscription1 xxxx-xxxx-xxxx-xxxx AzureCloud This command connects to an Azure account and configured AzureRM PowerShell to run cmdlets for the specified tenant and subscription by default. -### Example 5: Add an Account Using Managed Service Identity Login +### Example 4: Add an Account Using Managed Service Identity Login ```powershell PS C:\> Connect-AzAccount -MSI @@ -125,7 +110,7 @@ MSI@50342 Subscription1 xxxx-xxxx-xxxx-xxxx AzureCloud This command connects using the managed service identity of the host environment (for example, if executed on a VirtualMachine with an assigned Managed Service Identity, this will allow the code to login using that assigned identity) -### Example 6: Add an account using certificates +### Example 5: Add an account using certificates ```powershell # For more information on creating a self-signed certificate # and giving it proper permissions, please see the following: From 370252000d0d888bb3feb178274e8941ada72758 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleksandar=20Nikoli=C4=87?= Date: Thu, 17 Jan 2019 23:47:00 +0100 Subject: [PATCH 20/21] Fix a header and some typos Remove an unwanted hidden character from a header. Fix some typos. --- src/Compute/Compute/help/Update-AzVM.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Compute/Compute/help/Update-AzVM.md b/src/Compute/Compute/help/Update-AzVM.md index 812818132557..a5ecbb29f24c 100644 --- a/src/Compute/Compute/help/Update-AzVM.md +++ b/src/Compute/Compute/help/Update-AzVM.md @@ -1,4 +1,4 @@ ---- +--- external help file: Microsoft.Azure.PowerShell.Cmdlets.Compute.dll-Help.xml Module Name: Az.Compute ms.assetid: 38917534-49C6-47EA-B815-240F794EE655 @@ -74,7 +74,7 @@ Accept wildcard characters: False ``` ### -AssignIdentity -Specify the system assigned identity for the virtual machine. +Specify the system-assigned identity for the virtual machine. ```yaml Type: System.Management.Automation.SwitchParameter @@ -89,7 +89,7 @@ Accept wildcard characters: False ``` ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with azure. +The credentials, account, tenant, and subscription used for communication with Azure. ```yaml Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer @@ -104,7 +104,7 @@ Accept wildcard characters: False ``` ### -Id -Specifies the Resource ID of the virtual machine. +Specifies the resource ID of the virtual machine. ```yaml Type: System.String @@ -119,8 +119,8 @@ Accept wildcard characters: False ``` ### -IdentityId -Specifies the list of user identities associated with the virtual machine scale set. -The user identity references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/identities/{identityName}' +Specifies the list of user identities associated with the virtual machine. +The user identity references will be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/identities/{identityName}' ```yaml Type: System.String[] @@ -135,7 +135,7 @@ Accept wildcard characters: False ``` ### -IdentityType -The type of identity used for the virtual machine. Currently, the only supported type is 'SystemAssigned', which implicitly creates an identity. +The type of identity used for the virtual machine. Valid values are SystemAssigned, UserAssigned, SystemAssignedUserAssigned, and None. ```yaml Type: System.Nullable`1[Microsoft.Azure.Management.Compute.Models.ResourceIdentityType] From 330e6f3e712561c1e0f993bc70ced98a449851d0 Mon Sep 17 00:00:00 2001 From: Michael Yanni Date: Fri, 18 Jan 2019 11:48:20 -0800 Subject: [PATCH 21/21] Update azure-powershell-developer-guide.md --- .../development-docs/azure-powershell-developer-guide.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/development-docs/azure-powershell-developer-guide.md b/documentation/development-docs/azure-powershell-developer-guide.md index 9c5eefd8d3ec..56b49a9ee0a6 100644 --- a/documentation/development-docs/azure-powershell-developer-guide.md +++ b/documentation/development-docs/azure-powershell-developer-guide.md @@ -174,13 +174,13 @@ After the solution file is updated, save and close it. Now, open the solution fi Cdn ``` -- Remove the entry: +- **Remove the entry**: ```xml $(LegacyAssemblyPrefix)$(PsModuleName) ``` -This is not needed since this is a new project. +**This is not needed since this is a new project and does not use legacy namespace conventions.** - Update this entry to use your SDK: ```xml